Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-03 | Update NEWS files | Boris Kolpackov | 1 | -13/+24 | |
2011-10-03 | Proofreading fix | Boris Kolpackov | 1 | -2/+2 | |
2011-10-03 | Document views | Boris Kolpackov | 1 | -443/+1737 | |
2011-10-03 | Update options documentation with view information | Boris Kolpackov | 1 | -12/+13 | |
2011-10-02 | Handle object pointers when comparing view and object data member types | Boris Kolpackov | 1 | -33/+68 | |
Also issues an error if an object member associated with a view member is transient or inverse. | |||||
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 2 | -6/+16 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 8 | -74/+261 | |
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). |