summaryrefslogtreecommitdiff
path: root/odb/context.hxx
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-11-07Switch to C++11, get rid of auto_ptr useBoris Kolpackov1-2/+2
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-08-24Fix inconsistent composite value member prefix derivationBoris Kolpackov1-2/+3
2015-07-17Diagnose "composite type used before definition" situationsBoris Kolpackov1-0/+6
2015-07-03Implement nested id supportBoris Kolpackov1-6/+73
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-07-02C++ type mapping support for container elementsasBoris Kolpackov1-8/+8
2015-07-01C++ type mapping support for data membersBoris Kolpackov1-7/+22
2015-06-24Cleanup of member accessBoris Kolpackov1-2/+18
2015-06-22Implement member type mapping, more m.type() cleanupsBoris Kolpackov1-10/+12
2015-06-22Get rid of member_[u]type(), other cleanupsBoris Kolpackov1-14/+34
2015-06-19Populate custom type map, make available in contextBoris Kolpackov1-0/+30
2015-06-16Use (!) to denote database in modifier expressionsBoris Kolpackov1-1/+2
2015-06-16Diagnose forward use of composite object idsBoris Kolpackov1-0/+8
2015-06-16Implement support for nested members in inverse pragmaBoris Kolpackov1-12/+48
2015-06-15Add points_to pragmaBoris Kolpackov1-0/+6
Currently does not support containers.
2015-06-03Remove gratuitous classesBoris Kolpackov1-1/+2
In the process also get rid of global class processor which conflicts with enum processor on MIPS.
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-06Implement join types support in viewsBoris Kolpackov1-0/+2
2015-02-05Implement result modifiers in view query conditionBoris Kolpackov1-0/+7
2015-02-04Implement object loading viewsBoris Kolpackov1-3/+43
See section 10.2 in the manual for details.
2015-01-23Handle name truncation in PostgreSQLBoris Kolpackov1-0/+1
2015-01-22Add support for warning about SQL name truncations in OracleBoris Kolpackov1-1/+6
Also detect and issue diagnostics when such truncations lead to name conflicts.
2014-09-05Use scope of name used in pragma for template instantiationsBoris Kolpackov1-0/+7
2014-01-17Handle query column exporting for composite value typesBoris Kolpackov1-1/+1
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.
2013-09-16Implement summary soft-deletion for composite value typesBoris Kolpackov1-1/+11
2013-09-12Make sure that soft-add/delete version is current versionBoris Kolpackov1-1/+46
2013-09-06Rename flags for clarityBoris Kolpackov1-3/+2
2013-09-05Versioned section supportBoris Kolpackov1-2/+16
2013-09-04Container versioning supportBoris Kolpackov1-0/+4
2013-09-02Support for versioning simple value in objectBoris Kolpackov1-2/+37
2013-08-30Statement processing/optimization base workBoris Kolpackov1-0/+2
2013-08-28Support for added and deleted data member pragmasBoris Kolpackov1-7/+47
2013-08-16Implement soft delete for persistent classesBoris Kolpackov1-0/+14
2013-08-14Add support for object sectionsBoris Kolpackov1-5/+300
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated.
2013-06-13Add support for native views that call stored proceduresBoris Kolpackov1-1/+2
2013-04-10Generate add/drop foreign key migration statementsBoris Kolpackov1-1/+8
Also add the --fkeys-deferrable-mode option. General schemas generation rework.
2013-04-10Add model version pragmaBoris Kolpackov1-0/+23
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-0/+7
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov1-4/+8
Also improve query support for arrays (decaying).
2013-01-23Add commentBoris Kolpackov1-1/+2
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-17/+83
2012-12-03Make --export-symbol and --extern-symbole values database-prefixableBoris Kolpackov1-1/+3
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov1-0/+11
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-0/+3
2012-11-21Move some of the preprocessing from relational to commonBoris Kolpackov1-2/+13
2012-09-17Convert integer and floating default values immediately2.1.0Boris Kolpackov1-6/+13
It appears that GCC 4.8 reuses token tree nodes that are returned during pragma parsing. So saving such nodes for later no longer works.
2012-09-12Implement --output-name, --generate-schema-only, and --at-once optionsBoris Kolpackov1-8/+0