You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2008/09/28 20:37:44 UTC

[jira] Closed: (COUCHDB-124) Adding first and last sort keys

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

Chris Anderson closed COUCHDB-124.
----------------------------------

    Resolution: Won't Fix

> Adding first and last sort keys
> -------------------------------
>
>                 Key: COUCHDB-124
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-124
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Paul Joseph Davis
>
> We should add values to the view query that are guranteed to be sorted first or last.
> Simple example, given an emitted key of something like [doc.tag, doc.descr] currently to get the data for a specific tag we would use something like:
> startkey=['tag_name']&endkey=['tag_name', 'ZZZZZZ'] which is a bit hackish at best.
> Perhaps startkey=['tag_name',_first_]&endkey=['tag_name',_last_]
> Obviously _first_ and _last_ are crappy. And _first_ would even be optional. But hopefully that conveys the idea.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.