MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / insert_values

Method insert_values

tools/xtask-llm-benchmark/src/eval/sql_fmt.rs:67–71  ·  view source on GitHub ↗
(&self, table: &str, cols: &[&str], values_sql: &[&str])

Source from the content-addressed store, hash-verified

65 }
66
67 pub fn insert_values(&self, table: &str, cols: &[&str], values_sql: &[&str]) -> String {
68 let cols = self.cols(cols).join(", ");
69 let vals = values_sql.join(", ");
70 format!("INSERT INTO {table}({cols}) VALUES ({vals})")
71 }
72}

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
colsMethod · 0.45

Tested by

no test coverage detected