Added support for joins (#25)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-07-15 08:55:34 +02:00
committed by GitHub
parent f95156df77
commit b283ccf388
48 changed files with 2108 additions and 308 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ TEST(postgres, test_where_dry) {
order_by("age"_c);
const auto expected =
R"(SELECT "id", "first_name", "last_name", "age" FROM "Person" WHERE ("age" < 18) AND ("first_name" != 'Hugo') ORDER BY "age";)";
R"(SELECT "id", "first_name", "last_name", "age" FROM "Person" WHERE ("age" < 18) AND ("first_name" != 'Hugo') ORDER BY "age")";
EXPECT_EQ(sqlgen::postgres::to_sql(query), expected);
}