From c88a1097c2a7870af360fabf8067b3377c0c24da Mon Sep 17 00:00:00 2001 From: rbock Date: Thu, 31 Jul 2014 08:19:00 +0200 Subject: [PATCH] Added some hints --- include/sqlpp11/functions.h | 2 ++ tests/MockDb.h | 1 + 2 files changed, 3 insertions(+) diff --git a/include/sqlpp11/functions.h b/include/sqlpp11/functions.h index 6c13fd7e..ff561e2a 100644 --- a/include/sqlpp11/functions.h +++ b/include/sqlpp11/functions.h @@ -45,6 +45,8 @@ namespace sqlpp { +#warning add a value_or_null method that yields a type that can be NULL or have a value (very similar to an optional) +#warning add a template bool_expression which takes any bool expression as constructor argument template auto value(T t) -> wrap_operand_t { diff --git a/tests/MockDb.h b/tests/MockDb.h index 8642208e..3356c214 100644 --- a/tests/MockDb.h +++ b/tests/MockDb.h @@ -30,6 +30,7 @@ #include #include +#warning add serialization to run methods to increase the number of tests template struct MockDbT: public sqlpp::connection {