You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Panop Suvaphrom <PS...@vizrt.com> on 2010/11/22 05:50:32 UTC
get the nTH doc of a certain view
Hi,
Can we directly get the nth doc of a certain view from couchdb?
Thanks,
Aun.
Re: get the nTH doc of a certain view
Posted by Sebastian Cohnen <se...@googlemail.com>.
it's worth to mention that this gets quite inefficient performancewise for high n.
Am 22.11.2010 um 06:42 schrieb Anand Chitipothu <an...@gmail.com>:
>> Can we directly get the nth doc of a certain view from couchdb?
>
> If you mean getting the nth row, then you can add skip=n&limit=1 to
> the view url to get that.
>
> Anand
Re: get the nTH doc of a certain view
Posted by Anand Chitipothu <an...@gmail.com>.
> Can we directly get the nth doc of a certain view from couchdb?
If you mean getting the nth row, then you can add skip=n&limit=1 to
the view url to get that.
Anand