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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT