aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMichael Shepanski <michael@codesynthesis.com>2014-11-06 16:40:53 +1100
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-10 16:49:34 +0200
commitd59e3c27450747e5a04585ee9e943376b5bcfa41 (patch)
treefdd8ab6e7b04af6dde791741b0258fc1a3951314 /NEWS
parent3daba7d9d24c5fb85e2ee8c21b23b31efb8b278c (diff)
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).
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
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.