W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Indexed Database API

From: Ben Dilts <ben@lucidchart.com>
Date: Wed, 2 Mar 2011 00:02:46 -0700
Message-ID: <AANLkTikz=n8nCvp_saFMUiOr8icxfrE=QncnUj15_4xm@mail.gmail.com>
To: public-webapps@w3.org
Why is there no mechanism for paging results, a la SQL's "limit"?  If I want
entries in positions 140-159 from an index, I have to call continue() on a
cursor 139 times, which in turn unserializes 139 objects from my store that
I don't care about, which in FF4 is making a lookup in IndexedDB sometimes
take many seconds for even a few records.  It makes no sense--am I just
missing something in the spec?

Ben Dilts
Received on Friday, 4 March 2011 08:13:54 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:30 UTC