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:
parent
ff9a6ff8f0
commit
c88a1097c2
@ -45,6 +45,8 @@
|
|||||||
|
|
||||||
namespace sqlpp
|
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>
|
template<typename T>
|
||||||
auto value(T t) -> wrap_operand_t<T>
|
auto value(T t) -> wrap_operand_t<T>
|
||||||
{
|
{
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include <sqlpp11/serializer_context.h>
|
#include <sqlpp11/serializer_context.h>
|
||||||
#include <sqlpp11/connection.h>
|
#include <sqlpp11/connection.h>
|
||||||
|
|
||||||
|
#warning add serialization to run methods to increase the number of tests
|
||||||
template<bool enforceNullResultTreatment>
|
template<bool enforceNullResultTreatment>
|
||||||
struct MockDbT: public sqlpp::connection
|
struct MockDbT: public sqlpp::connection
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user