Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-22 | Make PG generated code look nicer1.6.0.a2 | Boris Kolpackov | 1 | -8/+7 | |
2011-09-22 | Proofreading fixes | Boris Kolpackov | 1 | -1/+1 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 7 | -95/+56 | |
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. | |||||
2011-09-20 | Bump version to 1.6.0.a2 | Boris Kolpackov | 2 | -5/+5 | |
2011-09-20 | Rename query_clause to query_statement for consistency | Boris Kolpackov | 3 | -11/+11 | |
2011-09-20 | Update documentation with new query syntax for pointers and composites | Boris Kolpackov | 2 | -32/+84 | |
2011-09-20 | Change query syntax to use . for composite and -> for object pointer access | Boris Kolpackov | 2 | -47/+108 | |
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null (). | |||||
2011-09-20 | Fix indentation | Boris Kolpackov | 1 | -2/+2 | |
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 14 | -106/+106 | |
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-09-19 | Throw exception instead of returning false to indicate validation failure | Boris Kolpackov | 3 | -24/+19 | |
This is consistent with what's done in processor and generator. | |||||
2011-09-19 | Split validator into 2 passes, before and after processing | Boris Kolpackov | 3 | -86/+170 | |
This is necessary because we sometimes need information during validation (e.g., object pointer and container status) that is determined by the processor. | |||||
2011-09-19 | Make processing top-level action, like validation and generation | Boris Kolpackov | 12 | -82/+212 | |
2011-09-19 | Use scope and location of db pointer pragma instead of class | Boris Kolpackov | 3 | -31/+63 | |
2011-09-19 | Use common lookup function instead of duplicating code | Boris Kolpackov | 3 | -80/+43 | |
2011-09-19 | Recognize C++ keywords when parsing C++ expressions in pragmas | Boris Kolpackov | 3 | -26/+39 | |
2011-09-19 | Use query_base_type instead of query_type as argument type | Boris Kolpackov | 2 | -9/+9 | |
The base type is sufficient. | |||||
2011-09-19 | Rename error.?xx to diagnostics.?xx | Boris Kolpackov | 7 | -11/+11 | |
2011-09-16 | Don't use DISTINCT in generated SELECT statements | Boris Kolpackov | 1 | -4/+1 | |
We needed it before for objects that involved relationships (and therefore JOINs) but it appears with the new JOIN handling approach (no merging of multiple relationships into a single JOIN), we don't need DISTINCT anymore. All the tests pass and all the examples produce identical output with and without DISTINCT. | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 26 | -275/+3515 | |
2011-09-11 | Generalize pragma code to support arbitrary types for context values | Boris Kolpackov | 7 | -172/+201 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 7 | -320/+567 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-09 | Add support for ignoring bases in has_a() test | Boris Kolpackov | 2 | -0/+11 | |
2011-09-09 | Fix bug in PG type oid generation | Boris Kolpackov | 1 | -6/+16 | |
2011-09-06 | View support customizations for PostgreSQL | Boris Kolpackov | 2 | -10/+43 | |
2011-09-06 | Add support for object pragma | Boris Kolpackov | 5 | -135/+290 | |
This pragma is used to specify objects in a view declaration. | |||||
2011-09-05 | Support for views; native part | Boris Kolpackov | 13 | -169/+674 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 22 | -75/+75 | |
2011-08-31 | Add transient() predicate | Boris Kolpackov | 9 | -9/+15 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 23 | -164/+185 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-30 | Document new connection constructor and create() factory callback | Boris Kolpackov | 2 | -15/+126 | |
2011-08-28 | Add comment to odb::nullable interface | Boris Kolpackov | 1 | -0/+2 | |
2011-08-28 | Document wrapper support for composite values and containers | Boris Kolpackov | 2 | -32/+63 | |
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 16 | -70/+134 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 17 | -58/+259 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-26 | Add support for specifying client character set for MySQL database | Boris Kolpackov | 2 | -7/+33 | |
2011-08-25 | Add experimental code (commented out) for DELETE JOIN support | Boris Kolpackov | 1 | -1/+11 | |
This would be needed to support object relationships in the erase_query() functionality. | |||||
2011-08-24 | Don't append table prefix to names that already have it (container tables) | Boris Kolpackov | 3 | -6/+19 | |
2011-08-24 | Document transaction multiplexing | Boris Kolpackov | 2 | -10/+72 | |
2011-08-23 | Proofreading fixes | Boris Kolpackov | 1 | -3/+3 | |
2011-08-23 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-08-22 | Bump version to 1.6.0.a11.6.0.a1 | Boris Kolpackov | 2 | -5/+5 | |
2011-08-22 | Document odb::connection | Boris Kolpackov | 2 | -91/+284 | |
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 6 | -34/+141 | |
New test: common/erase-query. Documentation is in Section 3.9, "Deleting Persistent Objects". The current implementation does not work well with the session (no removal of the erased objects from the cache). | |||||
2011-08-22 | Enable foreign key constraints checking in SQLite | Boris Kolpackov | 3 | -12/+106 | |
Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints". | |||||
2011-08-22 | Add --table-prefix option | Boris Kolpackov | 3 | -5/+32 | |
Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere. | |||||
2011-08-21 | Add support for multi-pass database schema drop | Boris Kolpackov | 4 | -34/+98 | |
2011-08-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 4 | -28/+67 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-08-19 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-08-19 | Make container object_id reference the object | Boris Kolpackov | 3 | -13/+56 | |
Make it ON DELETE CASCADE. Also in erase(), delete the container rows first. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 1 | -2/+2 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. |