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:
rbock
2014-02-09 23:30:30 +01:00
parent cc76820870
commit 22c43358f2
17 changed files with 543 additions and 417 deletions

View File

@@ -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