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

Method plan_update

nodedb-sql/src/engine_rules/kv.rs:69–78  ·  view source on GitHub ↗
(&self, p: UpdateParams)

Source from the content-addressed store, hash-verified

67 }
68
69 fn plan_update(&self, p: UpdateParams) -> Result<Vec<SqlPlan>> {
70 Ok(vec![SqlPlan::Update {
71 collection: p.collection,
72 engine: EngineType::KeyValue,
73 assignments: p.assignments,
74 filters: p.filters,
75 target_keys: p.target_keys,
76 returning: p.returning,
77 }])
78 }
79
80 fn plan_update_from(&self, p: UpdateFromParams) -> Result<Vec<SqlPlan>> {
81 Err(SqlError::Unsupported {

Callers 1

plan_updateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected