mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-06 01:19:58 -06:00
Added support for joins (#25)
This commit is contained in:
committed by
GitHub
parent
f95156df77
commit
b283ccf388
@@ -16,7 +16,7 @@ TEST(postgres, test_to_select_from_dry) {
|
||||
const auto query = sqlgen::read<std::vector<TestTable>>;
|
||||
|
||||
const auto expected =
|
||||
R"(SELECT "field1", "field2", "id", "nullable" FROM "TestTable";)";
|
||||
R"(SELECT "field1", "field2", "id", "nullable" FROM "TestTable")";
|
||||
|
||||
EXPECT_EQ(sqlgen::postgres::to_sql(query), expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user