insert_query_builder progress
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user