query preparations for std::optional

This commit is contained in:
2024-01-16 22:09:19 +01:00
parent 92eb30767e
commit 2060883d59
8 changed files with 69 additions and 36 deletions
+2 -2
View File
@@ -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);
}