diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-04-22 14:41:47 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-04-22 14:41:47 +0000 |
commit | e5be78e42c38b5546d68d98e4b1db286600e9ed5 (patch) | |
tree | dbd8f78044c938e8d729bbc02cbd689c44f88172 /src/couchdb/couch_db.hrl | |
parent | 468c9476310d752095d5a63040b2b070fac400aa (diff) |
Refactoring the view URL parameter parsing.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r-- | src/couchdb/couch_db.hrl | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl index 78087d86..b23fd18d 100644 --- a/src/couchdb/couch_db.hrl +++ b/src/couchdb/couch_db.hrl @@ -146,18 +146,22 @@ -record(view_query_args, { start_key = nil, end_key = {}, - limit = 10000000000, % a huge huge default number. Picked so we don't have - % to do different logic for when there is no limit - stale = false, - direction = fwd, start_docid = nil, end_docid = {}, + + direction = fwd, + inclusive_end=true, % aka a closed-interval + + limit = 10000000000, % Huge number to simplify logic skip = 0, + group_level = 0, - reduce = true, - req_reduce = false, - inclusive_end=true, % aka a closed-interval - include_docs = false + + view_type = nil, + include_docs = false, + stale = false, + multi_get = false, + ignore = false }). -record(view_fold_helper_funs, { |