Flow
Core objects
Two ways to query
- Python SDK —
table.search(...)for retrieval;db.sql(...)for SQL. - CLI —
toradb query,toradb sql,toradb tables,toradb reindex.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Mental model for databases, tables, indexes, and queries
| Object | Role |
|---|---|
Database | Open a path on disk (toradb.local(path)). |
Table | Named collection of documents; created with mode="text" or mode="hybrid". |
SearchResults | Ranked hits from table.search or retrieval SELECT. |
SearchResults.provenance | Structured JSON trace of candidate flow across retrieval tiers (when explain=True). |
| Analytics result | Tabular output from GROUP BY / aggregates via db.sql. |
table.search(...) for retrieval; db.sql(...) for SQL.toradb query, toradb sql, toradb tables, toradb reindex.