summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-2/+2
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-07-22Cosmetic changeBoris Kolpackov1-1/+1
2011-07-19New design for NULL semanticsBoris Kolpackov1-2/+2
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-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-2/+2
Every class gets a separate table. New test: common/inheritance.
2011-04-19Implement automatic mapping for C++ enumsBoris Kolpackov1-20/+113
2011-04-19Get rid of image type argument in value_traitsBoris Kolpackov1-16/+0
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-2/+14
2011-03-21Remove unnecessary codeBoris Kolpackov1-5/+5
2011-03-21Cosmetic changesBoris Kolpackov1-16/+16
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+899
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.