Trying to figure indexedDB out, and not sure whether the following is possible whatsoever:
c=y and b<x and c>x
where a, b and c are properties in indexedDB and x is from javascript. c is already limiting this to only around 5 records, so right now I am pulling all of those in and doing the evaluation in javascript, however it seems unlikely there isn't a better way to do this.
Just to give an example what this could look like is an employees datastore with a employment_start and employment_end year and wanting to query for all employees in the year x working for division y.
(Solutions in ydn-db are fine as well, and just for clarity, this is the 'opposite' of my other question, where I had a range in javascript and single properties in indexedDB.)