MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / existDB

Method existDB

Source/Basic/Database.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool DB::existDB(String name) const {
83 bool existed = false;
84 _thread->runInMainSync([&]() {
85 existed = DB::existDBUnsafe(_database.get(), name);
86 });
87 return existed;
88}
89
90bool DB::exist(String tableName, String schema) const {
91 bool existed = false;

Callers

nothing calls this directly

Calls 2

runInMainSyncMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected