summaryrefslogtreecommitdiff
path: root/odb/relational/sqlite/context.hxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov1-1/+1
Also improve query support for arrays (decaying).
2012-07-10Add support for custom database type mappingBoris Kolpackov1-4/+45
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+1
2012-02-22Add support for composite object idsBoris Kolpackov1-2/+6
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.
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-1/+19
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-07-19New design for NULL semanticsBoris Kolpackov1-4/+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-25Add support for mapping to database types based on type aliasesBoris Kolpackov1-1/+1
This allows us to, for example, always map size_t to 64-bit type. The current implementation does not work for containers. It is not clear whether it will be possible to make it work using the GCC AST.
2011-04-19Implement automatic mapping for C++ enumsBoris Kolpackov1-0/+6
2011-03-21Add support for SQLite type system, adjust code generatorsBoris Kolpackov1-47/+3
2011-03-21Infrastructure setup and schema generation for SQLiteBoris Kolpackov1-0/+120