query parts progress
This commit is contained in:
@@ -10,7 +10,7 @@ using namespace matador::sql;
|
||||
using namespace matador::utils;
|
||||
|
||||
TEST_CASE("Generate columns from object", "[column generator]") {
|
||||
schema repo;
|
||||
schema repo("main");
|
||||
|
||||
auto columns = column_generator::generate<matador::test::product>(repo);
|
||||
|
||||
@@ -36,7 +36,7 @@ TEST_CASE("Generate columns from object", "[column generator]") {
|
||||
}
|
||||
|
||||
TEST_CASE("Generate columns from object with nullable columns", "[column generator]") {
|
||||
schema repo;
|
||||
schema repo("main");
|
||||
|
||||
auto columns = column_generator::generate<matador::test::optional>(repo);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
using namespace matador::sql;
|
||||
|
||||
TEST_CASE("Generate column names from object", "[column name generator]") {
|
||||
schema s;
|
||||
schema s("main");
|
||||
s.attach<matador::test::product>("product");
|
||||
|
||||
auto columns = column_name_generator::generate<matador::test::product>(s);
|
||||
@@ -34,7 +34,7 @@ TEST_CASE("Generate column names from object", "[column name generator]") {
|
||||
}
|
||||
|
||||
TEST_CASE("Generate column names for object with has many relation", "[column][relation]") {
|
||||
schema s;
|
||||
schema s("main");
|
||||
s.attach<matador::test::product>("product");
|
||||
s.attach<matador::test::order_details>("order_details");
|
||||
s.attach<matador::test::order>("order");
|
||||
|
||||
Reference in New Issue
Block a user