0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Added more serializer tests for where()

This commit is contained in:
rbock 2016-03-10 09:28:59 +01:00
parent 226d45d44c
commit 0a325e4471

View File

@ -51,6 +51,8 @@ int Where(int, char* [])
// Unconditionally
compare(__LINE__, select(foo.omega).from(foo).unconditionally(), "SELECT tab_foo.omega FROM tab_foo");
compare(__LINE__, remove_from(foo).unconditionally(), "DELETE FROM tab_foo");
compare(__LINE__, update(foo).set(foo.omega = 42).unconditionally(), "UPDATE tab_foo SET omega=42");
compare(__LINE__, where(sqlpp::value(true)), " WHERE " + getTrue());
// Never