incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carey" <paul.p.ca...@gmail.com>
Subject Re: Paging
Date Fri, 10 Oct 2008 14:48:19 GMT
> I believe I remember seeing a thread about paging where Damien recommended
> doing count+1 for the count -- meaning, get one more record then necessary.
> You don't have to display the extra record, but it gives you all the data
> you need to determine if you need a next link for additional records.

Of course! You're absolutely right. I had started using count+1 and
then changed to skip when I saw that Futon was using skip rather than
count+1.
Many thanks

Mime
View raw message