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

Method undrop_collection_impl

nodedb-client/src/remote/client/sql_lifecycle.rs:55–59  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

53 }
54
55 pub(super) async fn undrop_collection_impl(&self, name: &str) -> NodeDbResult<()> {
56 let sql = format!("UNDROP COLLECTION {}", quote_identifier(name));
57 self.execute_raw(&sql, &[]).await?;
58 Ok(())
59 }
60
61 pub(super) async fn drop_collection_purge_impl(&self, name: &str) -> NodeDbResult<()> {
62 let sql = format!("DROP COLLECTION {} PURGE", quote_identifier(name));

Callers 1

undrop_collectionMethod · 0.80

Calls 1

execute_rawMethod · 0.80

Tested by

no test coverage detected