mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-06 13:10:34 -06:00
All statements back to composite design
The point is that even though the CRTP code looked nice, it was too hard to comprehend.
This commit is contained in:
@@ -130,7 +130,7 @@ namespace sqlpp
|
||||
void add_values(Args... args)
|
||||
{
|
||||
static_assert(is_column_list_t<InsertValueList>::value, "cannot call add_set() before columns()");
|
||||
return _insert_value_list.add_columns(args...);
|
||||
return _insert_value_list.add_values(args...);
|
||||
}
|
||||
|
||||
// run and prepare
|
||||
|
||||
Reference in New Issue
Block a user