MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / batch_array_upsert

Function batch_array_upsert

nodedb-sql/src/parser/preprocess/pipeline.rs:204–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202
203 #[test]
204 fn batch_array_upsert() {
205 let result =
206 pp("UPSERT INTO users [{ id: 'u1', name: 'a' }, { id: 'u2', name: 'b' }]").unwrap();
207 assert!(result.is_upsert);
208 assert!(result.sql.contains("VALUES"));
209 }
210
211 #[test]
212 fn arrow_distance_operator_select() {

Callers

nothing calls this directly

Calls 1

ppFunction · 0.85

Tested by

no test coverage detected