couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-242) patch that allo lists to get first key and last key in tail
Date Tue, 10 Mar 2009 17:08:53 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Anderson closed COUCHDB-242.
----------------------------------

    Resolution: Fixed

fixed a few weeks ago

> 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.


Mime
View raw message