Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-15 | Implement SQLite incremental BLOB/TEXT I/O | Boris Kolpackov | 1 | -2/+7 | |
2015-07-03 | Implement nested id support | Boris Kolpackov | 1 | -4/+4 | |
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier). | |||||
2015-07-02 | C++ type mapping support for container elementsas | Boris Kolpackov | 1 | -3/+3 | |
2015-06-15 | Add points_to pragma | Boris Kolpackov | 1 | -25/+71 | |
Currently does not support containers. | |||||
2015-02-06 | Update copyright | Boris Kolpackov | 1 | -1/+1 | |
2015-01-22 | Add support for warning about SQL name truncations in Oracle | Boris Kolpackov | 1 | -2/+2 | |
Also detect and issue diagnostics when such truncations lead to name conflicts. | |||||
2014-06-23 | Cut out pointer-to-id traversal so that we don't go into composite ids | Boris Kolpackov | 1 | -0/+6 | |
2013-09-15 | Diagnose change of polymorphic base, table kind | Boris Kolpackov | 1 | -2/+5 | |
2013-09-15 | Cleanup polymorphic base tables when dropping derived one | Boris Kolpackov | 1 | -2/+10 | |
2013-09-12 | Add options to warn about hard additions and deletions | Boris Kolpackov | 1 | -0/+1 | |
2013-09-12 | Make sure that soft-add/delete version is current version | Boris Kolpackov | 1 | -12/+35 | |
2013-08-28 | Support for added and deleted data member pragmas | Boris Kolpackov | 1 | -0/+9 | |
2013-08-16 | Implement soft delete for persistent classes | Boris Kolpackov | 1 | -0/+3 | |
2013-04-26 | Add support for extra database info in primary key | Boris Kolpackov | 1 | -0/+6 | |
Use that to handle Oracle sequence name and SQLite lax auto ids. | |||||
2013-04-26 | Add support for table options in changelog, use to handle MySQL engine | Boris Kolpackov | 1 | -3/+16 | |
2013-04-26 | Add --sqlite-override-null option | Boris Kolpackov | 1 | -5/+9 | |
2013-04-10 | Generate embedded schema in single function instead of one per object | Boris Kolpackov | 1 | -11/+0 | |
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -4/+6 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-10 | Remove unnecessary include | Boris Kolpackov | 1 | -2/+0 | |
2013-04-10 | Add initial support for database model serialization to XML | Boris Kolpackov | 1 | -25/+34 | |
2013-02-10 | Suppress some warnings | Boris Kolpackov | 1 | -0/+1 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -22/+32 | |
2012-09-12 | Implement --output-name, --generate-schema-only, and --at-once options | Boris Kolpackov | 1 | -1/+1 | |
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 1 | -19/+21 | |
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -39/+177 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -5/+2 | |
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables). | |||||
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -1/+1 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -6/+12 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 1 | -135/+193 | |
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-26 | Implement support for database schema | Boris Kolpackov | 1 | -13/+13 | |
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-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -7/+7 | |
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -0/+528 | |
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. |