insert_query_builder progress

This commit is contained in:
2026-04-12 22:07:24 +02:00
parent f03664d60a
commit a0326632ab
25 changed files with 319 additions and 124 deletions
+3 -4
View File
@@ -7,8 +7,7 @@
namespace matador::test {
SessionFixture::SessionFixture()
: ses({bus, connection::dns, 4}, schema)
, db(connection::dns) {
: db(connection::dns) {
REQUIRE(db.open());
}
@@ -19,8 +18,8 @@ SessionFixture::~SessionFixture() {
}
void SessionFixture::drop_table_if_exists(const std::string &table_name) const {
if (ses.table_exists(table_name)) {
REQUIRE(ses.drop_table(table_name));
if (db.exists(table_name)) {
REQUIRE(query::drop().table(table_name).execute(db));
}
}