Expand description
TOON (Tabular Object-Oriented Notation) - Native Data Format for SochDB
TOON is a compact, schema-aware data format optimized for LLMs and databases. It’s the native format for SochDB, like JSON is for MongoDB.
Format: name[count]{fields}:\nrow1\nrow2\n...
Example:
users[3]{id,name,email}:
1,Alice,alice@example.com
2,Bob,bob@example.com
3,Charlie,charlie@example.comStructs§
- Soch
Cursor - Cursor for iterating over columnar data and emitting TOON format
- Soch
Field - A field in a TOON schema
- Soch
Index - An index definition
- SochRow
- A TOON row - values for a single record
- Soch
Schema - A TOON schema definition
- Soch
Table - A complete TOON table (header + rows)
Enums§
Traits§
- Column
Access - Trait for accessing columnar data without allocation