summaryrefslogtreecommitdiff
path: root/odb/relational/context.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-02C++ type mapping support for container elementsasBoris Kolpackov1-1/+5
2015-06-19Populate custom type map, make available in contextBoris Kolpackov1-20/+0
2015-06-19Parse C++ type mappingBoris Kolpackov1-0/+20
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-0/+1
2013-08-14Add support for object sectionsBoris Kolpackov1-3/+5
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-4/+15
2012-07-27Add support for defining indexesBoris Kolpackov1-0/+35
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-07-10Add support for custom database type mappingBoris Kolpackov1-0/+65
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+1
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-0/+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-26Implement support for database schemaBoris Kolpackov1-1/+4
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-20Add support for case where we don't send auto object id in INSERTBoris Kolpackov1-0/+1
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-4/+9
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-0/+8
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members.
2011-10-21Rename relational::context::use_as to relational::context::need_alias_asConstantin Michael1-2/+2
2011-10-21Add a context flag indicating whether AS SQL keyword should be used for aliasesConstantin Michael1-0/+4
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael1-0/+2
2011-09-16Support for views; integrated partBoris Kolpackov1-0/+12
2011-07-22Add support for SQL string quotingBoris Kolpackov1-0/+14
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-0/+35
2011-03-21Cache current context in static variableBoris Kolpackov1-9/+14
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+81
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.