Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -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-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -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-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 1 | -2/+2 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 1 | -0/+4 | |
2011-10-21 | Add flag to context indicating whether to generate grow code | Constantin Michael | 1 | -0/+2 | |
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -0/+12 | |
2011-07-22 | Add support for SQL string quoting | Boris Kolpackov | 1 | -0/+14 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -0/+35 | |
2011-03-21 | Cache current context in static variable | Boris Kolpackov | 1 | -9/+14 | |
2011-03-21 | Split MySQL code generator into common and db-specific parts | Boris Kolpackov | 1 | -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. |