mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-06 05:00:37 -06:00
Turned remove into a generic statement
This commit is contained in:
@@ -7,8 +7,8 @@ macro (build_and_run arg)
|
||||
endmacro ()
|
||||
|
||||
#build_and_run(InterpretTest)
|
||||
build_and_run(InsertTest)
|
||||
#build_and_run(RemoveTest)
|
||||
#build_and_run(InsertTest)
|
||||
build_and_run(RemoveTest)
|
||||
#build_and_run(UpdateTest)
|
||||
#build_and_run(SelectTest)
|
||||
#build_and_run(SelectTypeTest)
|
||||
|
||||
@@ -60,8 +60,8 @@ int main()
|
||||
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");
|
||||
r.using_.add(t);
|
||||
r.where.add(t.beta != "transparent");
|
||||
serialize(r, printer).str();
|
||||
|
||||
db(r);
|
||||
|
||||
Reference in New Issue
Block a user