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

Method vector_delete_impl

nodedb-client/src/remote/client/vector.rs:171–176  ·  view source on GitHub ↗
(&self, collection: &str, id: &str)

Source from the content-addressed store, hash-verified

169 }
170
171 pub(super) async fn vector_delete_impl(&self, collection: &str, id: &str) -> NodeDbResult<()> {
172 let collection = quote_identifier(collection);
173 let sql = format!("DELETE FROM {collection} WHERE id = $1");
174 self.execute_raw(&sql, &[&id]).await?;
175 Ok(())
176 }
177}

Callers 1

vector_deleteMethod · 0.45

Calls 2

quote_identifierFunction · 0.85
execute_rawMethod · 0.80

Tested by

no test coverage detected