collection_resolver progress

This commit is contained in:
Sascha Kühl
2026-02-02 13:40:53 +01:00
parent f9333158e2
commit 621c3703fd
7 changed files with 38 additions and 54 deletions
+2 -2
View File
@@ -24,7 +24,8 @@ using namespace matador::query::meta;
class StatementTestFixture : public QueryFixture {
public:
StatementTestFixture() {
REQUIRE(repo.attach<airplane>("airplanes"));
REQUIRE(repo.attach<airplane>("airplanes")
.and_then([this] {return repo.create(db); }));
repo.initialize_executor(db);
}
@@ -38,7 +39,6 @@ protected:
TEST_CASE_METHOD(StatementTestFixture, "Create prepared statement", "[statement]") {
using namespace matador::utils;
REQUIRE(repo.create(db));
SECTION("Insert with prepared statement and placeholder") {
auto stmt = query::insert()
.into(AIRPLANE, {AIRPLANE.id, AIRPLANE.brand, AIRPLANE.model})