diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-19 12:19:38 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-19 12:19:38 +0000 |
commit | aae8762c1560a110f11fa8f2524018f20504e40d (patch) | |
tree | cc42b94104e7c846f4c1c6672300daf0e8539684 /share/www/script/test/design_docs.js | |
parent | 1074767a6b2a254fc6abcb08ec8ccc156e5aa6e9 (diff) |
Add aliases start_key, end_key, start_key_docid and end_key_docid.
Closes COUCHDB-949.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1036813 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/design_docs.js')
-rw-r--r-- | share/www/script/test/design_docs.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js index 831321b8..f2f63841 100644 --- a/share/www/script/test/design_docs.js +++ b/share/www/script/test/design_docs.js @@ -286,6 +286,10 @@ couchTests.design_docs = function(debug) { result = db.view("test/summate", {startkey: 4, endkey: 6}); T(result.rows[0].value == 15); + // test start_key and end_key aliases + result = db.view("test/summate", {start_key: 4, end_key: 6}); + T(result.rows[0].value == 15); + // Verify that a shared index (view def is an exact copy of "summate") // does not confuse the reduce stage result = db.view("test/summate2", {startkey: 4, endkey: 6}); |