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

Method plan_upsert

nodedb-sql/src/engine_rules/kv.rs:27–33  ·  view source on GitHub ↗
(&self, _p: UpsertParams)

Source from the content-addressed store, hash-verified

25 }
26
27 fn plan_upsert(&self, _p: UpsertParams) -> Result<Vec<SqlPlan>> {
28 // KV upsert is handled via the KvInsert path (KV PUT is naturally an upsert).
29 // Same as plan_insert — KV INSERT uses KvInsert which is already upsert semantics.
30 Err(SqlError::Unsupported {
31 detail: "KV UPSERT must use the KV insert path (KV PUT is naturally an upsert)".into(),
32 })
33 }
34
35 fn plan_scan(&self, p: ScanParams) -> Result<SqlPlan> {
36 if p.temporal.is_temporal() {

Callers 2

plan_upsertFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected