aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/query.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-10-03Work around bug in Sun CC1.6.01.6Boris Kolpackov1-4/+0
2011-10-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov1-28/+111
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-16Support for views; integrated partBoris Kolpackov1-8/+42
2011-09-09New templated query_columns architectureBoris Kolpackov1-9/+16
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-22/+81
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-03-25Make queries without by-reference parameters immutableBoris Kolpackov1-25/+53
This makes it possible to share such queries between multiple threads without the need for synchronization.
2011-03-25Query supportBoris Kolpackov1-0/+162