1. location (Can choose multiple)
2. Price (range)
3. move in date (range)
Is there something fundamentally wrong with the approach I am currently using i.e. by doing multiple ranges in the keys?
Because it did seem to work fine.
query.startKey = @[startPrice,@"Marina Bay"];query.endKey = @[endPrice,@[@"Marina Bay",@"Pasir Ris",@{}],{}]; //In ascending order
When I use this => It does seem to match against the multiple keys that I have => which are strings and not arrays.
For eg. it matches all with Marina Bay and Pasir Ris
So I have to manually filter it & store it in an array which I can further to use to display in a table?
Can you give me an example of this method's usage - how can I use this with datasource for this filtering?- (void) reloadFromQuery
_datasource.query.rows
when you say for each given location => how would I use a range of locations?say location - A, C, X, Y, Zand I want A, X, Z only.