entity query builder progress

This commit is contained in:
2024-03-07 19:57:42 +01:00
parent 496e94ddcd
commit 2b552c4383
9 changed files with 59 additions and 34 deletions
+3 -3
View File
@@ -25,9 +25,9 @@ TEST_CASE("Create sql query for entity", "[query][entity][builder]") {
scm.attach<matador::test::author>("authors");
scm.attach<matador::test::book>("books");
entity_query_builder eqb(17);
entity_query_builder eqb(17, scm);
auto context = eqb.build<matador::test::book>(noop, scm);
auto context = eqb.build<matador::test::book>(noop);
std::cout << "SQL: " << context.value().sql << "\n";
context = eqb.build<schiff>(noop, scm);
context = eqb.build<schiff>(noop);
}