aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
AgeCommit message (Collapse)AuthorFilesLines
2011-09-21Rework const object handlingBoris Kolpackov1-37/+20
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
2011-09-05Support for views; native partBoris Kolpackov1-4/+28
2011-08-22Add database::erase_query() functionBoris Kolpackov1-0/+15
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-07-04Implement support for database operations callbacksBoris Kolpackov1-1/+37
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-22Add session, database operations on pointers and const objectsBoris Kolpackov1-18/+97
Currently, session is just an object cache. The persist, update, and erase database operations are overloaded to also work on object pointers. All the database operations and the query facility now support const objects. New session-related exceptions: not_in_session, already_in_session, const_object.
2010-11-06Add comment to the likely place of an errorBoris Kolpackov1-0/+3
2010-09-20Add persist(const) version, make update()'s argument constBoris Kolpackov1-1/+14
2010-09-20Rename store() to update()Boris Kolpackov1-2/+2
2010-09-20Cache result by defaultBoris Kolpackov1-2/+7
2010-08-16Make small functions inlineBoris Kolpackov1-25/+0
2010-08-16Make use of const style consistentBoris Kolpackov1-5/+5
2010-08-16Add pointer guard for naked pointerBoris Kolpackov1-1/+1
2010-08-10Make result copy-assignableBoris Kolpackov1-3/+3
Return result from database::query instead of pointer to impl
2010-08-10Add query supportBoris Kolpackov1-0/+24
2010-07-22Rename insert and update to persist and store in traitsBoris Kolpackov1-2/+2
2010-07-20Get rid of the session mechanism for nowBoris Kolpackov1-31/+53
Add low-level API instead.
2010-06-04Initial implementationBoris Kolpackov1-0/+73