summaryrefslogtreecommitdiff
path: root/odb/relational/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-10-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov1-1/+1
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-2/+2
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-4/+1
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-19Rename generation_failed exception to operation_failedBoris Kolpackov1-6/+6
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator).
2011-09-16Support for views; integrated partBoris Kolpackov1-0/+544
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-38/+4
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+79
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.