Reputation: 23
I have an indexeddb keypath with arrays like this:
...
[0,1,3]
[0,1,4]
[0,1,5]
...
and I can get them by this:
IDBKeyRange.bound([0,1,2], [0,1,5] ,false,false)
The problem is when I compound the index to this keypath:
...
[[0,1,3],0]
[[0,1,4],1]
[[0,1,5],1]
...
This returns nothing:
IDBKeyRange.bound([[0,1,2],1], [[0,1,5],1] ,false,false)
It should return:
[[0,1,4],1]
[[0,1,5],1]
Upvotes: 1
Views: 122