query preparations for std::optional
This commit is contained in:
@@ -130,10 +130,10 @@ private:
|
||||
*/
|
||||
column operator "" _col(const char *name, size_t len);
|
||||
|
||||
column make_column(const std::string &name, data_type_t type, utils::field_attributes attr = utils::null_attributes);
|
||||
column make_column(const std::string &name, data_type_t type, utils::field_attributes attr = utils::not_null_attributes);
|
||||
|
||||
template < typename Type >
|
||||
column make_column(const std::string &name, utils::field_attributes attr = utils::null_attributes)
|
||||
column make_column(const std::string &name, utils::field_attributes attr = utils::not_null_attributes)
|
||||
{
|
||||
return make_column(name, data_type_traits<Type>::builtin_type(0), attr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user