Age | Commit message (Collapse) | Author | Files | Lines |
|
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).
|
|
|
|
|
|
|
|
|
|
Too much effort to maintain.
|
|
This tests the generation of the INSERT ... DEFAULT VALUES special syntax
in some databases.
|
|
|
|
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.
|
|
|