couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1960) Provide pagination for /_all_dbs
Date Sun, 05 Jan 2014 12:16:14 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862541#comment-13862541
] 

Jan Lehnardt commented on COUCHDB-1960:
---------------------------------------

Just one nitpick: Skip0 and Limit0 can be called Skip and Limit in handle_all_dbs_req/1. I
assume all_dbs_fun/2 was factored out of there at a later time and Skip0 and Limit0 are remains
of that.

> Provide pagination for /_all_dbs
> --------------------------------
>
>                 Key: COUCHDB-1960
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1960
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Fauxton, HTTP Interface
>            Reporter: Benjamin Young
>
> The database-per-user design pattern has increased in popularity and consequently causes
long lists of databases when one hits {{/_all_dbs}}
> To keep this sane, we need some pagination.
> {{?skip=10&limit=10}} style seems to be the simplest to implement (and there should
be existing code from Cloudant for this one).
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message