MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / ClearDb

Method ClearDb

src/client/ns_client.cc:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41const std::string& NsClient::GetDb() { return db_; }
42
43void NsClient::ClearDb() { db_.clear(); }
44
45bool NsClient::Use(std::string db, std::string& msg) {
46 ::fedb::nameserver::UseDatabaseRequest request;

Callers 1

HandleNsUseDbFunction · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected