0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Add explicit greater condition.

This commit is contained in:
Egor Pugin 2018-12-06 22:05:24 +03:00 committed by Roland Bock
parent da5cf192e9
commit 9de56a748c

View File

@ -52,7 +52,7 @@ namespace sqlpp
using _nodes = detail::type_vector<>;
using _provided_tables = detail::type_set<Table>;
static_assert(sizeof...(ColumnSpec), "at least one column required per table");
static_assert(sizeof...(ColumnSpec) > 0, "at least one column required per table");
using _required_insert_columns =
typename detail::make_type_set_if<require_insert_t, column_t<Table, ColumnSpec>...>::type;
using _column_tuple_t = std::tuple<column_t<Table, ColumnSpec>...>;