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

Method sessions_schema

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

Create a virtual schema for sessions table (schemaless)

(&self)

Source from the content-addressed store, hash-verified

238
239 /// Create a virtual schema for sessions table (schemaless)
240 fn sessions_schema(&self) -> Schema {
241 Schema {
242 table_name: "sessions".to_string(),
243 column_defs: None, // Schemaless
244 indexes: Vec::new(),
245 engine: None,
246 foreign_keys: Vec::new(),
247 comment: Some("Virtual table with one row per session".to_string()),
248 }
249 }
250
251 /// Create a virtual schema for todos table (schemaless)
252 fn todos_schema(&self) -> Schema {

Callers 2

fetch_schemaMethod · 0.80
fetch_all_schemasMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected