summaryrefslogtreecommitdiff
path: root/odb/relational/common.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-567/+4
2012-11-21Rework query alias tag systemBoris Kolpackov1-104/+101
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-08Ground work for multi-database supportBoris Kolpackov1-9/+15
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-08-01Add support for empty column names in composite value typesBoris Kolpackov1-20/+27
2012-07-10Add support for custom database type mappingBoris Kolpackov1-2/+5
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-29Generate default constructors for classes used in static const membersBoris Kolpackov1-3/+7
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-25/+153
2012-02-22Add support for composite object idsBoris Kolpackov1-85/+174
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
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-26Implement support for database schemaBoris Kolpackov1-4/+5
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
2012-01-20Customize generated pointer column wrapper ctorBoris Kolpackov1-6/+14
For SQL Server we need to be able to pass precision/scale.
2012-01-20Query support for SQL ServerBoris Kolpackov1-2/+5
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-4/+4
2011-10-21Add support for const data membersBoris Kolpackov1-4/+7
Const data members are automatically treated as readonly. New test: const-member.
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-43/+107
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null ().
2011-09-09New templated query_columns architectureBoris Kolpackov1-102/+151
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-7/+7
Rename some functions to have consistent names. Add object() predicate.
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-5/+10
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-6/+47
Every class gets a separate table. New test: common/inheritance.
2011-04-19Get rid of image type argument in value_traitsBoris Kolpackov1-2/+0
2011-04-05Cosmetic changesBoris Kolpackov1-2/+2
2011-03-25Further generalization work for SQLite supportBoris Kolpackov1-3/+3
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-4/+4
2011-03-21Fix bug in database enum parsingBoris Kolpackov1-4/+2
2011-03-21Cosmetic changesBoris Kolpackov1-4/+4
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+178
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.