0
0
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:
rbock 2018-12-07 09:42:43 +01:00
parent 9de56a748c
commit dd73319bcf

View File

@ -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);