aboutsummaryrefslogtreecommitdiff
path: root/common/composite-id/test.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03Implement nested id supportBoris Kolpackov1-520/+0
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-02-07Fix to use traditional const styleBoris Kolpackov1-16/+16
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-09-17Add support for defining composite values inside persistent classes, etcBoris Kolpackov1-0/+47
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov1-1/+53
2012-04-26Make session optionalBoris Kolpackov1-4/+0
2012-04-23Assign table prefix to namespace instead of to each classBoris Kolpackov1-9/+16
2012-02-22Add support for composite object idsBoris Kolpackov1-0/+418
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.