summaryrefslogtreecommitdiff
path: root/reference/feature
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-10 16:04:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-10 16:47:02 +0200
commit8e54e4855b93996b0221ea973f5dadd03cc40f9d (patch)
treebf11d64dd08d9de72036e1006c9f061dce6ce1ef /reference/feature
parentac7e584c407c0577009a3671917f282303c6be74 (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 'reference/feature')
-rw-r--r--reference/feature/query/list6
1 files changed, 6 insertions, 0 deletions
diff --git a/reference/feature/query/list b/reference/feature/query/list
new file mode 100644
index 0000000..94b6477
--- /dev/null
+++ b/reference/feature/query/list
@@ -0,0 +1,6 @@
++ Shortcut query() call for queries that always return one element [2.4.0]
+
+ Can be useful for aggregate queries, etc.
+
+ Also added query_value() which returns the result by value. Very
+ handy when working with aggregate views.