Open n1k0 opened 9 years ago
I like this idea because it helps speed up things for schemaless.
Something to pay attention to, because we'll alter the store schemas by adding/altering indexes, we'll need to handle database version numbers.
Note: since #315 and #318 has now landed, we should implement custom index definition so users can benefit from the performance improvement provided by leveraging idb indexes for filtering and sorting.
any plans for this..?
PS: Coming from DexieJS
Not really. But if someone contributes it, we would definitely provide support to ship it :)
Filtering and ordering being currently achieved in-memory, the performance penalty can be important in case of large datasets.
We should allow users to create indexes on fields and rely on native IDB queries to speed things up.
Suggested API:
Or even:
Thoughts? @Natim @leplatrem