patch that allo lists to get first key and last key in tail
-----------------------------------------------------------
Key: COUCHDB-242
URL: https://issues.apache.org/jira/browse/COUCHDB-242
Project: CouchDB
Issue Type: Improvement
Components: JavaScript View Server
Affects Versions: 0.9
Environment: all
Reporter: Benoit Chesneau
Fix For: 0.9
Attachments: couchdb-diff
This patch add the possibility to get last key and first key in list, all rows
can get current row number an first/prev key.
Lists functions have a new row_info argument that replace row_number that could
be used. In head row_info is null, in tail it's null if there isn't any rows.
row_info is an object :
{
first_key: XXX,
row_number: XXX,
prev_key: XXX
}
In tail, prev_key is latest key. On first row, prev_key is null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.