aboutsummaryrefslogtreecommitdiff
path: root/common/view/test.hxx
AgeCommit message (Collapse)AuthorFilesLines
2011-10-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov1-2/+2
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.
2011-09-27Add support for associating tables with viewsBoris Kolpackov1-0/+32
2011-09-21Use int instead of size_t for NULL-able valueBoris Kolpackov1-2/+2
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.
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-1/+3
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 ().
2011-09-16Support for views; integrated partBoris Kolpackov1-29/+310
2011-09-06Correct view testBoris Kolpackov1-1/+0
2011-09-05Support for views; native partBoris Kolpackov1-0/+114