mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-08 20:29:45 -05:00
Transport can_be_null into select pseudo table
This commit is contained in:
@@ -37,8 +37,11 @@ namespace sqlpp
|
||||
{
|
||||
using _name_t = typename NamedExpr::_name_t;
|
||||
|
||||
#warning take can_be_null from named expression...
|
||||
using _traits = make_traits<value_type_of<NamedExpr>, tag::must_not_insert, tag::must_not_update>;
|
||||
using _traits = make_traits<value_type_of<NamedExpr>,
|
||||
tag::must_not_insert,
|
||||
tag::must_not_update,
|
||||
typename std::conditional<can_be_null_t<NamedExpr>::value, tag::can_be_null, void>::type
|
||||
>;
|
||||
};
|
||||
|
||||
template<
|
||||
|
||||
Reference in New Issue
Block a user