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