We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAllKeys() only returns the store keys (primary keys) openKeyCursor() iteration is too slow on large sets
getAllKeys()
openKeyCursor()
getAll()
Given: store.createIndex(["a", "b"])
store.createIndex(["a", "b"])
The only way to find all records where a = "foo" (regardless of b) is:
a = "foo"
IDBKeyRange.bound(["foo"], ["foo", "~"]);
(where "~" is the highest ascii character).
It would be preferable to be able to use something like IDBKeyRange.only("foo") instead.
IDBKeyRange.only("foo")
OR
i.e. key = A or key = B
key = A or key = B
Proposed solution seems to be IDBKeyList
IDBKeyList
e.g. active: true
active: true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
No easy way to get all index keys
getAllKeys()
only returns the store keys (primary keys)openKeyCursor()
iteration is too slow on large setsgetAll()
with both key and value (or index key and primary key) w3c/IndexedDB#206JOINS
Arbitrary ORDER BY
Partial key searches
Given:
store.createIndex(["a", "b"])
The only way to find all records where
a = "foo"
(regardless of b) is:(where "~" is the highest ascii character).
It would be preferable to be able to use something like
IDBKeyRange.only("foo")
instead.No support for
OR
key searchesi.e.
key = A or key = B
Proposed solution seems to be
IDBKeyList
Indexing into nested arrays
Index keys can’t be boolean
e.g.
active: true
The text was updated successfully, but these errors were encountered: