mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-01 10:41:22 -06:00
Added some (no-op) statement executions
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
|
||||
DbMock db;
|
||||
DbMock::_serializer_context_t printer(std::cerr);
|
||||
DbMock::_serializer_context_t printer;
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -56,13 +56,13 @@ int main()
|
||||
static_assert(sqlpp::is_regular<T>::value, "type requirement");
|
||||
}
|
||||
|
||||
serialize(remove_from(t), printer).flush();
|
||||
serialize(remove_from(t).where(t.beta != "transparent"), printer).flush();
|
||||
serialize(remove_from(t).using_(t), printer).flush();
|
||||
serialize(remove_from(t), printer).str();
|
||||
serialize(remove_from(t).where(t.beta != "transparent"), printer).str();
|
||||
serialize(remove_from(t).using_(t), printer).str();
|
||||
auto r = dynamic_remove_from(db, t).dynamic_using().dynamic_where();
|
||||
r.add_using(t);
|
||||
r.add_where(t.beta != "transparent");
|
||||
serialize(r, printer).flush();
|
||||
serialize(r, printer).str();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user