aboutsummaryrefslogtreecommitdiff
path: root/common/auto/driver.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03Implement nested id supportBoris Kolpackov1-95/+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-08Fix incorrect id typeBoris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-20Add test for object with only auto-id memberBoris Kolpackov1-27/+54
This tests the generation of the INSERT ... DEFAULT VALUES special syntax in some databases.
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov1-1/+1
Port all the examples and tests.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-09-28Rename begin_transaction() to begin()Boris Kolpackov1-2/+2
2010-09-08Add suppor for VC++ buildBoris Kolpackov1-1/+1
2010-08-19Test automatic id assignmentBoris Kolpackov1-0/+69