Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -29/+37 | |
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 | -6/+6 | |
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-04-25 | Add support for mapping to database types based on type aliases | Boris Kolpackov | 1 | -2/+2 | |
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-19 | Implement automatic mapping for C++ enums | Boris Kolpackov | 1 | -0/+24 | |
2011-03-25 | Further generalization work for SQLite support | Boris Kolpackov | 1 | -1/+1 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -0/+3 | |
2011-03-21 | Implement grow test for SQLite | Boris Kolpackov | 1 | -25/+1 | |
2011-03-21 | Add support for SQLite type system, adjust code generators | Boris Kolpackov | 1 | -363/+127 | |
2011-03-21 | Infrastructure setup and schema generation for SQLite | Boris Kolpackov | 1 | -0/+632 | |