Tags: Dushistov/sqlpp11
Tags
Migrated to clearer failure return types. In some cases, this makes debugging with MSVC much simpler, as MSVC does not report the same static_assert as clang and gcc. It gives up when hitting the failure return type (before encountering the static_assert). The failure return type will now be an accordingly named wrapped static assert.
Several breaking changes: * `from(a,b)` not allowed anymore, please use explicit joins * `where(true)` not allowed anymore, please use `.unconditionally()` or sqlpp::value(true) * `some_sql_expression and true` not allowed anymore, please use `tab.col == sqlpp::value(true)` if you really want to express this. * `having(expression)` requires `expression` to be made of aggregates, e.g. columns named in `group_by()` or aggregate functions like `count()` or constant values. * `where()` and `having()` accept only one parameter Several more clauses are now available as free functions. Lots of additional tests.
PreviousNext