| 80 | } |
| 81 | |
| 82 | bool 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 | |
| 90 | bool DB::exist(String tableName, String schema) const { |
| 91 | bool existed = false; |
nothing calls this directly
no test coverage detected