couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1960) Provide pagination for /_all_dbs
Date Thu, 12 Dec 2013 15:14:07 GMT


Alexander Shorin commented on COUCHDB-1960:

Pagination matters only for Futon/Fauxton like UI and their issue not in large list of databases
that are returned by `/_all_dbs` resource, but due to making GET `/db` request for every item
in this list.

Take a look on Futon solution: it gets all list of databases, but pages it on his side, querying
only those databases information that are showed on current page.

> Provide pagination for /_all_dbs
> --------------------------------
>                 Key: COUCHDB-1960
>                 URL:
>             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

View raw message