From b79afa6dbea19905b2a035365274616dd1dae2b1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Aug 2011 11:47:55 +0200 Subject: Add database::erase_query() function 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). --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0d5db63..2cc9f12 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,12 @@ Version 1.6.0 call to schema_catalog::create_schema()). For more information, refer to Section 12.5.3, "Foreign Key Constraints" in the ODB manual. + * New function, database::erase_query(), allows the deletion of the + database state of multiple objects matching certain criteria. It uses + the same query expression as the database::query() function. For more + information, refer to Section 3.9, "Deleting Persistent Objects" in + the ODB manual. + * Support for value wrappers. An ODB value wrapper is a class template that wraps a value type. Common examples of wrappers are smart pointers, holders, and "optional value" containers such as boost::optional. A -- cgit v1.1