removed class query and moved their static methods to simple functions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user