summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.hrl
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-03-19 11:20:36 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-03-19 11:20:36 +0000
commit292091ece9a97c51f92e2dda547e732848db1515 (patch)
treed1716717332ffe828eb037389eb04cc9a2d55df4 /src/couchdb/couch_db.hrl
parent25a26fc5ad1c759dbc2392b6eec5ccc20952f12f (diff)
inclusive_end query option for views, defaults to true (does not change current behavior). inclusive_end=false treats endkey as an open interval.
this is progress on COUCHDB-194. I think it is enough for 0.9, we can discuss switching the default behavior, and adding a similar option for startkey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r--src/couchdb/couch_db.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl
index f460f450..6d9081a8 100644
--- a/src/couchdb/couch_db.hrl
+++ b/src/couchdb/couch_db.hrl
@@ -155,6 +155,7 @@
skip = 0,
group_level = 0,
reduce = true,
+ inclusive_end=true, % aka a closed-interval
include_docs = false
}).