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