MCPcopy Create free account
hub / github.com/cosdata/cosdata / get_db

Method get_db

org/src/persist.rs:29–31  ·  view source on GitHub ↗

Getter method for database handle

(&self)

Source from the content-addressed store, hash-verified

27
28 // Getter method for database handle
29 fn get_db(&self) -> &DB {
30 &self.db
31 }
32
33 // Create a new column family
34 pub fn create_cf_family(&mut self, cf_name: &str) -> Result<(), WaCustomError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected