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

Method append_data

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

Source from the content-addressed store, hash-verified

608 }
609
610 async fn append_data(&mut self, table_name: &str, rows: Vec<DataRow>) -> Result<()> {
611 if self.is_virtual_table(table_name) {
612 Err(GlueError::StorageMsg(
613 "Write operations on virtual multi-file tables not yet supported".to_string(),
614 ))
615 } else {
616 self.json_storage.append_data(table_name, rows).await
617 }
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) {

Callers

nothing calls this directly

Calls 1

is_virtual_tableMethod · 0.80

Tested by

no test coverage detected