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:
parent
da5cf192e9
commit
9de56a748c
@ -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>...>;
|
||||
|
Loading…
Reference in New Issue
Block a user