Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-10-15 | Automatically map C++11 enum classes (strong enums) | Boris Kolpackov | 1 | -8/+1 | |
2013-08-14 | Add support for object sections | Boris Kolpackov | 1 | -17/+29 | |
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-09 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 1 | -3/+36 | |
Also improve query support for arrays (decaying). | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -0/+2 | |
2012-09-04 | NULL handling improvements | Boris Kolpackov | 1 | -21/+23 | |
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL. | |||||
2012-07-25 | Clean up PostgreSQL auto id implementation | Boris Kolpackov | 1 | -1/+1 | |
Specifically, avoid sending the auto id value. | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 1 | -35/+80 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -1/+3 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 1 | -8/+9 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-20 | Add support for case where we don't send auto object id in INSERT | Boris Kolpackov | 1 | -0/+1 | |
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -58/+45 | |
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-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 1 | -0/+1 | |
2011-10-21 | Add flag to context indicating whether to generate grow code | Constantin Michael | 1 | -0/+1 | |
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 1 | -9/+9 | |
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator). | |||||
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -1/+1 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 1 | -10/+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-07-14 | Map unsigned short and int C++ types to SMALLINT and INTEGER PostgreSQL types | Constantin Michael | 1 | -2/+2 | |
2011-07-12 | Correct bugs in PostgreSQL sql type parser | Constantin Michael | 1 | -2/+10 | |
2011-07-05 | Add enum support to PostgreSQL | Constantin Michael | 1 | -0/+24 | |
2011-07-05 | Implement remainder of PostgreSQL context | Constantin Michael | 1 | -237/+151 | |
2011-07-05 | Add PostgreSQL FLOAT and timezone suffix parsing | Constantin Michael | 1 | -1/+58 | |
2011-07-05 | Correct db_id_type for PostgreSQL TEXT type | Constantin Michael | 1 | -1/+1 | |
2011-07-05 | Remove support for timezone types TIMETZ and TIMESTAMPTZ | Constantin Michael | 1 | -2/+10 | |
2011-07-05 | Add pgsql sql_type and sql type parsing implementation | Constantin Michael | 1 | -0/+620 | |