summaryrefslogtreecommitdiff
path: root/odb/common-query.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-27Fix member name conflicts in query supportBoris Kolpackov1-26/+40
2015-07-03Implement nested id supportBoris Kolpackov1-1/+1
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-04-07Detect and ignore transient value baseBoris Kolpackov1-11/+15
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-12-15Fix bug in id-based custom view join of polymorphic objectsBoris Kolpackov1-13/+20
See email from Mikhail.Tomilov@infotecs.ru/12-Dec-2014.
2014-09-19Avoid clashes between nested composites in query columnsBoris Kolpackov1-6/+43
2014-09-19Fix bug in query types exporting codeBoris Kolpackov1-1/+1
2014-08-21Use different suffix for composite values in query columnsBoris Kolpackov1-5/+9
This avoids potential name clash between the class name and its members (both of which, before this fix, had the _type_ suffix).
2014-01-22Only generate inner export macro if we are explicitly instantiatingBoris Kolpackov1-15/+23
2014-01-17Handle query column exporting for composite value typesBoris Kolpackov1-44/+122
A composite value is represented in query_columns as a nested struct. Even though the query_columns template instantiation is exported, VC++ for some reason doesn't appear to also export the nested structs. To work around this, nested structs have to have the export macro in the declaration. But that's not it: we also have to declare the nested structs extern, just like the outer template instantiation itself.
2014-01-17Handle composite values when generating query tags (multi-database)Boris Kolpackov1-1/+1
2013-06-21Various bug fixes for dynamic multi-database supportBoris Kolpackov1-30/+73
2013-05-25Don't generate explicit query template instantiations for reuse-abstract classesBoris Kolpackov1-13/+23
It is unnecessary plus there is no table name.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-5/+3
2012-12-03Make --export-symbol and --extern-symbole values database-prefixableBoris Kolpackov1-7/+7
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov1-118/+217
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-0/+1112