Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-22 | Add database::erase_query() function | Boris Kolpackov | 4 | -29/+92 | |
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 | 1 | -0/+16 | |
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-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. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -1/+217 | |
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper. | |||||
2011-07-25 | Remove @@ notes that no longer apply | Boris Kolpackov | 1 | -1/+1 | |
2011-07-24 | Never generate zero length oid arrays for PostgreSQL | Constantin Michael | 1 | -0/+8 | |
VC++ does not allow zero length array initialization, nor for const values to remain uninitialized. | |||||
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 5 | -3/+318 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-22 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-22 | Parse and store MySQL ENUM enumerator strings | Boris Kolpackov | 2 | -4/+31 | |
2011-07-22 | Use quote_string() to quote enumerators | Boris Kolpackov | 1 | -3/+1 | |
2011-07-22 | Cosmetic changes | Boris Kolpackov | 1 | -2/+2 | |
2011-07-22 | Add support for SQL string quoting | Boris Kolpackov | 3 | -0/+39 | |
2011-07-22 | Add support for specifying extra column options | Boris Kolpackov | 1 | -0/+7 | |
New pragmas: options, id_options, index_options, key_options, and value_options. | |||||
2011-07-21 | Correct container statement name generation for PostgreSQL | Constantin Michael | 1 | -2/+2 | |
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 12 | -71/+110 | |
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-07-19 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-14 | Map unsigned short and int C++ types to SMALLINT and INTEGER PostgreSQL types | Constantin Michael | 1 | -2/+2 | |
2011-07-13 | Aesthetic changes | Constantin Michael | 1 | -3/+3 | |
2011-07-13 | Add support for DATE, TIME and TIMESTAMP PostgreSQL types | Constantin Michael | 2 | -20/+31 | |
2011-07-12 | Lengthen PostgreSQL BIT image buffer to allow for length specifier | Constantin Michael | 1 | -1/+5 | |
2011-07-12 | Correct bugs in PostgreSQL sql type parser | Constantin Michael | 1 | -2/+10 | |
2011-07-12 | Correct PostgreSQL varbit member image type to ubuffer | Constantin Michael | 1 | -1/+1 | |
2011-07-08 | Add foreign keys to PostgreSQL schema generation | Constantin Michael | 1 | -0/+129 | |
2011-07-08 | Add CASCADE to PostgreSQL DROP TABLE statements | Constantin Michael | 1 | -0/+26 | |
2011-07-08 | Fix inverse case of container select_all statement parameter type generation | Constantin Michael | 1 | -4/+2 | |
2011-07-08 | Have separate table set for each schema generation pass | Boris Kolpackov | 3 | -50/+51 | |
2011-07-05 | Add hook for schema column reference generation | Boris Kolpackov | 1 | -6/+11 | |
2011-07-05 | Add support for multi-pass database schema generation | Boris Kolpackov | 4 | -59/+168 | |
2011-07-05 | Update source generation to use PostgreSQL specific query implementation | Constantin Michael | 1 | -1/+0 | |
2011-07-05 | Correct container statement name logic to avoid inherited name conflicts | Constantin Michael | 1 | -1/+5 | |
2011-07-05 | Only generate query statement names if queries are being generated | Constantin Michael | 2 | -14/+21 | |
2011-07-05 | Add enum support to PostgreSQL | Constantin Michael | 2 | -4/+25 | |
2011-07-05 | Implement PostgreSQL query_statement_ctor and post_query_ hooks | Constantin Michael | 1 | -0/+23 | |
2011-07-05 | Generate PostgreSQL query statement name | Constantin Michael | 2 | -0/+13 | |
2011-07-05 | Add query_statment_ctor and post_query_ hooks to relational source generation | Constantin Michael | 1 | -7/+25 | |
2011-07-05 | Fully qualify all references to odb::details namespace | Constantin Michael | 1 | -8/+8 | |
2011-07-05 | Correct PostgreSQL container statement and types array generation | Constantin Michael | 2 | -120/+62 | |
2011-07-05 | Implement PostgreSQL container statement name and types array generation | Constantin Michael | 2 | -71/+289 | |
2011-07-05 | Add hooks for generating extra code in container traits | Constantin Michael | 2 | -1/+24 | |
2011-07-05 | Add support for auto ID aware PostgreSQL query parameter generation | Constantin Michael | 1 | -5/+18 | |
2011-07-05 | Implement PostgreSQL statement name and types array code generation | Constantin Michael | 2 | -7/+151 | |
2011-07-05 | Add base typedef to relational::query_parameters | Constantin Michael | 1 | -0/+2 | |
2011-07-05 | Correct typos | Constantin Michael | 1 | -2/+2 | |
2011-07-05 | Add PostgreSQL source generation implementation | Constantin Michael | 1 | -0/+801 | |