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

Method insert_data

crates/ccql/src/sql/composite_storage.rs:620–628  ·  view source on GitHub ↗
(&mut self, table_name: &str, rows: Vec<(Key, DataRow)>)

Source from the content-addressed store, hash-verified

618 }
619
620 async fn insert_data(&mut self, table_name: &str, rows: Vec<(Key, DataRow)>) -> Result<()> {
621 if self.is_virtual_table(table_name) {
622 Err(GlueError::StorageMsg(
623 "Write operations on virtual multi-file tables not yet supported".to_string(),
624 ))
625 } else {
626 self.json_storage.insert_data(table_name, rows).await
627 }
628 }
629
630 async fn delete_data(&mut self, table_name: &str, keys: Vec<Key>) -> Result<()> {
631 if self.is_virtual_table(table_name) {

Callers

nothing calls this directly

Calls 1

is_virtual_tableMethod · 0.80

Tested by

no test coverage detected