MCPcopy Create free account
hub / github.com/douglance/devsql / todos_schema

Method todos_schema

crates/ccql/src/sql/composite_storage.rs:252–261  ·  view source on GitHub ↗

Create a virtual schema for todos table (schemaless)

(&self)

Source from the content-addressed store, hash-verified

250
251 /// Create a virtual schema for todos table (schemaless)
252 fn todos_schema(&self) -> Schema {
253 Schema {
254 table_name: "todos".to_string(),
255 column_defs: None, // Schemaless
256 indexes: Vec::new(),
257 engine: None,
258 foreign_keys: Vec::new(),
259 comment: Some("Virtual table merging all todo files".to_string()),
260 }
261 }
262}
263
264/// Convert a finished [`SessionAggregate`] into a `sessions` table DataRow

Callers 2

fetch_schemaMethod · 0.80
fetch_all_schemasMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected