mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Add boolean expression test
This commit is contained in:
parent
9de56a748c
commit
dd73319bcf
@ -34,6 +34,7 @@ int BooleanExpression(int, char* [])
|
||||
const auto t = test::TabBar{};
|
||||
|
||||
auto x = boolean_expression(db, not(t.alpha == 7));
|
||||
x = sqlpp::boolean_expression(db, true);
|
||||
x = sqlpp::boolean_expression<MockDb>(t.beta.like("%cheesecake"));
|
||||
x = x and boolean_expression(db, t.gamma);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user