summaryrefslogtreecommitdiff
path: root/odb/pragma.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-07-24Allow pragmas to be either overriding or accumulatingBoris Kolpackov1-2/+3
2011-07-22Add pragma for setting type's or member's default valueBoris Kolpackov1-0/+138
New pragma: default. New test: default.
2011-07-22Add support for optional tree node value in pragmasBoris Kolpackov1-2/+3
2011-07-22Add support for specifying extra column optionsBoris Kolpackov1-46/+173
New pragmas: options, id_options, index_options, key_options, and value_options.
2011-07-19New design for NULL semanticsBoris Kolpackov1-3/+37
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-07-04Implement support for database operations callbacksBoris Kolpackov1-1/+37
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-04-25Use out own diagnostic functions to avoid bogus location contextBoris Kolpackov1-58/+57
2011-04-25Add support for abstract object typesBoris Kolpackov1-1/+14
2011-04-24Implement id_type value type pragmaBoris Kolpackov1-0/+20
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-01Implement not_null pointer pragmaBoris Kolpackov1-0/+31
New exception: null_pointer.
2010-11-29Make container pragmas also work on types in addition to membersBoris Kolpackov1-8/+31
2010-11-28Qualify all unqualified name components in pointer typesBoris Kolpackov1-10/+10
This this necessary since they may not resolve in the typedef that we generate in namespace odb.
2010-11-24Add support for unordered storage of ordered containersBoris Kolpackov1-0/+21
New pragma: unordered.
2010-11-22Implement support for one-to-{one,many} inverse relationshipsBoris Kolpackov1-0/+43
New pragma: inverse.
2010-11-15Add support for custom object pointersBoris Kolpackov1-61/+173
New option: --default-pointer. New object pragma specifier: pointer.
2010-11-06Add support for container persistenceBoris Kolpackov1-6/+101
2010-09-22Handle pragmas for fundamental types and template instantiationsBoris Kolpackov1-2/+7
Use main type variant as a key in pragma map.
2010-09-13Change GPL v3Boris Kolpackov1-1/+1
2010-09-13Change pragma syntaxBoris Kolpackov1-205/+236
Change odb pragma namespace to db. Use qualifiers (object, value, and member) to specify type/member name. Add support for mapping C++ types to db types.
2010-08-19Add support for automatic object idsBoris Kolpackov1-0/+47
2010-07-30Add pragma transientBoris Kolpackov1-1/+48
2010-06-04Next chunk of functionalityBoris Kolpackov1-14/+169
2010-04-02Implement pragma supportBoris Kolpackov1-0/+274