From d59e3c27450747e5a04585ee9e943376b5bcfa41 Mon Sep 17 00:00:00 2001 From: Michael Shepanski Date: Thu, 6 Nov 2014 16:40:53 +1100 Subject: Implement {query,execute}_{one,value}() shortcut functions Useful in situations where the query is know to return at most one element (*_one) or exactly one element (*_value). --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0e2d50f..b1dd122 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ Version 2.4.0 + * New database class functions, query_one(), query_value(), provide + convenient shortcuts for situations where the query is know to return + at most one element (query_one) or exactly one element (query_value). + Corresponding execute_one() and execute_value() functions for prepared + queries are also provided. For details, refer to Sections 4.3, "Executing + a Query" and 4.5, "Prepared Queries" in the ODB manual. + * New pragma, on_delete, allows the specification of an on-delete semantics (translated to the ON DELETE SQL clause) for an object pointer. For more information, refer to Section 14.4.15, "on_delete" in the ODB manual. -- cgit v1.1