From 0a325e4471fe5b3594cbc4ff714f81290a357989 Mon Sep 17 00:00:00 2001 From: rbock Date: Thu, 10 Mar 2016 09:28:59 +0100 Subject: [PATCH] Added more serializer tests for where() --- test_serializer/Where.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_serializer/Where.cpp b/test_serializer/Where.cpp index 4de5f1c4..a4e80112 100644 --- a/test_serializer/Where.cpp +++ b/test_serializer/Where.cpp @@ -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