Open cjz9032 opened 9 years ago
Sorry, it was a little unclear to me at first read. Looks like you have a compound index. $between is a really thin wrapper on the indexed-db API, so the problem you're dealing with is with the indexed db api. I haven't tried to iterate on multi value indices, so let me know if angular indexed db needs some additional support to allow you to do this.
compound index here~ https://jsbin.com/ruzaju/8/edit?html,console,output :) I should apologize for my crude code
It looks like it just looking at the first condition( Hmin,Hmax ), ignoring the other conditions [(Smin,Smax)...].