This could be done with CouchDB. You need a view that emits the ID and then
?startkey=200&endkey=299 on the view. Add include_docs=true if you want the
log doc too.

Not sure how you guarantee the numbers will increase atomically though.
On Jul 23, 2012 6:24 PM, "Mark Hahn" <[email protected]> wrote:

> I have a log db that I am only adding new docs to.  I am never updating,
> deleting, or compacting any docs.
>
> I'd like to show these docs in a table on the client-side.  The table
> software will ask for ranges of docs like 200 to 300, assuming sequential
> id numbers.
>
> Is it correct that this cannot be done with normal couchdb queries?  How
> would you deal with this situation?
>

Reply via email to