schema node analyze progress

This commit is contained in:
Sascha Kühl
2025-02-11 16:34:06 +01:00
parent a631a5a36c
commit 1d83abcb1b
18 changed files with 174 additions and 96 deletions
+2
View File
@@ -133,6 +133,8 @@ TEST_CASE("Create sql query data for entity with eager has many belongs to", "[q
schema scm("noop");
auto result = scm.attach<product>("products")
.and_then( [&scm] { return scm.attach<order_details>("order_details"); } )
.and_then( [&scm] { return scm.attach<supplier>("suppliers"); } )
.and_then( [&scm] { return scm.attach<category>("categories"); } )
.and_then( [&scm] { return scm.attach<order>("orders"); } );
REQUIRE(result);