Age | Commit message (Collapse) | Author | Files | Lines |
|
This allows uniform usage of views both with and without any extra
conditions. Also optimize some common cases so that we don't have
useless WHERE TRUE clauses or (...) AND (TRUE) expressions.
|
|
|
|
In case of nullable<size_t> the ODB compiler is unable to determine that
the wrapped type is size_t. This results in 64-bit integer being stored
and 32-bit being loaded. This interacts badly with PG for some reason.
|
|
Now objects are always loaded as non-const and the object cache in
session treats all objects as non-const.
|
|
Also make non-inverse query columns act as both an object pointer and a
normal column. The latter allows us to use natural expressions such as
query<employee>::employer.is_null ().
|
|
|
|
|
|
|