removed class query and moved their static methods to simple functions

This commit is contained in:
2026-03-26 09:34:32 +01:00
parent 3fc08fb7ff
commit fedce38270
23 changed files with 283 additions and 286 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void QueryFixture::check_table_not_exists(const std::string &table_name) const {
void QueryFixture::drop_table_if_exists(const std::string &table_name) const {
const auto result = db.exists(table_name).and_then([&table_name, this](const bool exists) {
if (exists) {
auto res = query::query::drop()
auto res = query::drop()
.table(table_name)
.execute(db);
REQUIRE(res);