mirror of
https://github.com/getml/sqlgen.git
synced 2026-05-12 19:08:34 -05:00
Added support for joins (#25)
This commit is contained in:
committed by
GitHub
parent
f95156df77
commit
b283ccf388
@@ -23,7 +23,7 @@ TEST(postgres, test_is_null_dry) {
|
||||
order_by("first_name"_c.desc()));
|
||||
|
||||
const std::string expected =
|
||||
R"(SELECT "id", "first_name", "last_name", "age" FROM "Person" WHERE "age" IS NULL ORDER BY "first_name" DESC;)";
|
||||
R"(SELECT "id", "first_name", "last_name", "age" FROM "Person" WHERE "age" IS NULL ORDER BY "first_name" DESC)";
|
||||
|
||||
EXPECT_EQ(sql, expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user