Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2011-08-04 | Update NEWS file with new features | Boris Kolpackov | 1 | -3/+20 | |
2011-08-04 | Add documentation for new value wrappers | Boris Kolpackov | 1 | -44/+309 | |
New sections: 7.3, "NULL Value Semantics" and 15.3, "Optional Library". | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 4 | -19/+336 | |
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-28 | Fix incorrect pragma | Boris Kolpackov | 1 | -1/+1 | |
2011-07-28 | Documentation for std::vector<char> to BLOB mapping | Boris Kolpackov | 2 | -0/+111 | |
2011-07-27 | Documentation fix | Boris Kolpackov | 1 | -1/+1 | |
2011-07-27 | Bump version to 1.6.0 | Boris Kolpackov | 5 | -11/+11 | |
2011-07-25 | Add support for Mac OS X DYLD_LIBRARY_PATH1.5.0 | Boris Kolpackov | 1 | -2/+8 | |
2011-07-25 | Proofread NEWS file | Boris Kolpackov | 1 | -21/+21 | |
2011-07-25 | Remove @@ notes that no longer apply | Boris Kolpackov | 2 | -3/+1 | |
2011-07-25 | Add entry about PostgreSQL support | Boris Kolpackov | 1 | -0/+6 | |
2011-07-25 | Bump version to 1.5.0 | Boris Kolpackov | 5 | -11/+11 | |
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-24 | Update NEWS file with entries for default and options pragmas | Boris Kolpackov | 1 | -1/+10 | |
2011-07-24 | Document default and options pragmas | Boris Kolpackov | 1 | -156/+603 | |
2011-07-24 | Add support for resetting options accumulated with options pragma | Boris Kolpackov | 2 | -23/+102 | |
2011-07-24 | Allow pragmas to be either overriding or accumulating | Boris Kolpackov | 3 | -41/+66 | |
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 9 | -7/+474 | |
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 | Fix SQL lexer to handle double-quoting instead of escape-sequences | Boris Kolpackov | 1 | -10/+10 | |
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 | Register enumerators in tree-node map, fix enumerator values calculation | Boris Kolpackov | 1 | -7/+11 | |
2011-07-22 | Add support for SQL string quoting | Boris Kolpackov | 3 | -0/+39 | |
2011-07-22 | Add support for optional tree node value in pragmas | Boris Kolpackov | 3 | -4/+14 | |
2011-07-22 | Add support for specifying extra column options | Boris Kolpackov | 4 | -46/+240 | |
New pragmas: options, id_options, index_options, key_options, and value_options. | |||||
2011-07-22 | Change section order | Boris Kolpackov | 2 | -25/+25 | |
2011-07-22 | Corrections to PostgreSQL profile support sections in the ODB manual | Constantin Michael | 1 | -10/+8 | |
2011-07-22 | Add sections to ODB manual for PostgreSQL support of Boost and QT profiles | Constantin Michael | 1 | -1/+129 | |
2011-07-21 | Correct container statement name generation for PostgreSQL | Constantin Michael | 1 | -2/+2 | |
2011-07-20 | Update NEWS files with new NULL handling | Boris Kolpackov | 1 | -0/+26 | |
2011-07-20 | Update manual with new null/not_null pragmas documentation | Boris Kolpackov | 1 | -208/+411 | |
2011-07-20 | Documentation fixes for PostgreSQL chapter | Boris Kolpackov | 1 | -182/+128 | |
2011-07-20 | Add PostgreSQL database chapter | Constantin Michael | 1 | -0/+587 | |
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 16 | -129/+282 | |
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-19 | Store location along with pragma value in semantic graph context | Boris Kolpackov | 1 | -0/+2 | |
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 | |