0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Added some hints

This commit is contained in:
rbock 2014-07-31 08:19:00 +02:00
parent ff9a6ff8f0
commit c88a1097c2
2 changed files with 3 additions and 0 deletions

View File

@ -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<typename Db> bool_expression which takes any bool expression as constructor argument
template<typename T>
auto value(T t) -> wrap_operand_t<T>
{

View File

@ -30,6 +30,7 @@
#include <sqlpp11/serializer_context.h>
#include <sqlpp11/connection.h>
#warning add serialization to run methods to increase the number of tests
template<bool enforceNullResultTreatment>
struct MockDbT: public sqlpp::connection
{