has many to many eager loading via sql join (progress)
This commit is contained in:
@@ -215,8 +215,8 @@ TEST_CASE("Create sql query data for entity with eager many to many", "[query][e
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> expected_join_data {
|
||||
{ "recipe_ingredients", R"("ingredients"."id" = "recipe_ingredients"."ingredient_id")"},
|
||||
{ "recipes", R"("recipe_ingredients"."recipe_id" = "recipes"."id")"}
|
||||
{ "recipe_ingredients", R"("t01"."id" = "recipe_ingredients"."ingredient_id")"},
|
||||
{ "recipes", R"("t02"."recipe_id" = "recipes"."id")"}
|
||||
};
|
||||
|
||||
query_context qc;
|
||||
|
||||
Reference in New Issue
Block a user