diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-19 12:37:27 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-19 12:37:27 +0000 |
commit | c05c268204f6c848f08ddb248850fb1aa7acb6a9 (patch) | |
tree | 7430364b697e54d001871a2725589de35845fb8d /share | |
parent | b1978300207a8ba888a85b0302fc98293f54fdb2 (diff) |
For absolute consistency, renamed aliases start_key_docid and end_key_docid to start_key_doc_id and end_key_doc_id.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1036818 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/test/view_pagination.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/www/script/test/view_pagination.js b/share/www/script/test/view_pagination.js index 4f9cfe2c..ed3a7ee1 100644 --- a/share/www/script/test/view_pagination.js +++ b/share/www/script/test/view_pagination.js @@ -37,10 +37,10 @@ couchTests.view_pagination = function(debug) { T(queryResults.rows[j].key == i + j); } - // test aliases start_key and start_key_docid + // test aliases start_key and start_key_doc_id queryResults = db.query(queryFun, null, { start_key: i, - start_key_docid: i, + start_key_doc_id: i, limit: 10 }); T(queryResults.rows.length == 10); @@ -135,12 +135,12 @@ couchTests.view_pagination = function(debug) { }); testEndkeyDocId(queryResults); - // test aliases end_key_docid and end_key + // test aliases end_key_doc_id and end_key queryResults = db.query(function(doc) { emit(null, null); }, null, { start_key: null, - start_key_docid: 1, + start_key_doc_id: 1, end_key: null, - end_key_docid: 40 + end_key_doc_id: 40 }); testEndkeyDocId(queryResults); |