Added a table consistency checks to several dynamic methods

This commit is contained in:
rbock
2014-04-22 20:46:32 +02:00
parent 1f3e611fdf
commit 0ffd93108b
15 changed files with 89 additions and 17 deletions

View File

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