mirror of
https://github.com/rbock/sqlpp11.git
synced 2025-12-31 18:20:23 -06:00
Added a table consistency checks to several dynamic methods
This commit is contained in:
@@ -62,6 +62,7 @@ int main()
|
||||
serialize(update(t).set(t.beta = "opaque").where(t.beta != t.beta), printer).str();
|
||||
auto u = dynamic_update(db, t).dynamic_set(t.gamma = false).dynamic_where();
|
||||
u.add_set(t.gamma = false);
|
||||
u.add_where(t.gamma != false);
|
||||
serialize(u, printer).str();
|
||||
|
||||
db(u);
|
||||
|
||||
Reference in New Issue
Block a user