Skip to content

getAll and getRange count needs to be smaller than 2^32 -1 #70

Open
@haroldvandy2013

Description

@haroldvandy2013

if count is greater than 2^32, there will be error like this:
Failed to execute 'getAll' on 'IDBObjectStore': Value is outside the 'unsigned long' value range.

based on MDB doc, the supported count range is between 0 to 2^32 -1 (inclusive)
https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/getAll#count

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions