Re: Indexed Database API

On 03/02/2011 09:02 AM, Ben Dilts wrote:
> 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.

Sounds like there is something to optimize in the implementation.
Have you filed a bug component DOM ?
If not, please do so and attach a *minimal* testcase.



> makes no sense--am I just missing something in the spec?
> Ben Dilts

Received on Friday, 4 March 2011 20:12:31 UTC