I have a javascript indexeddb, each primary index is an two-long incrementing array, from [0,0] to [x,y]:
[0,0]
[0,1]
[0,2]
...
[1,0]
[1,1]
...
[x,y]
My current get request involves the following statement:
var transaction = db.transaction("myData", "readonly");
var c = transaction.objectStore("myData");
var a = c.getAll(IDBKeyRange.bound([0,0],[5,5]));
However, this gets all data where the first value is between 0 and 5, and does not take into account the second value, sending a return like the following:
[0,0]
[0,1]
[0,2]
...
[0,y]
[1,0]
...
[5,y]
Is there any way to get it to become more precise and take into account the y range? Using a cursor on all of the values is not acceptable.