mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-07 18:09:32 -06:00
committed by
GitHub
parent
7b5c849e02
commit
1424d29c5d
@@ -15,6 +15,7 @@ struct Person {
|
||||
|
||||
TEST(postgres, test_where_dry) {
|
||||
using namespace sqlgen;
|
||||
using namespace sqlgen::literals;
|
||||
|
||||
const auto query = sqlgen::read<std::vector<Person>> |
|
||||
where("age"_c < 18 and "first_name"_c != "Hugo") |
|
||||
|
||||
Reference in New Issue
Block a user