I am not sure when this method should be called.. and how do I access the _rows variable.
Also with respect to this - *What I would do is* * emit([location, price], moveInDate)* *Then for each given location I’d query by* * startKey=[location, minPrice]* * endKey=[location, maxPrice]* *and then filter the results by comparing the value (the moveInDate) against the date range.* when you say for each given location => how would I use a range of locations? say location - A, C, X, Y, Z and I want A, X, Z only. On Sunday, March 16, 2014 2:01:03 PM UTC+8, archit agarwal wrote: > > Are you referring to this - > > > _datasource.query.rows > > > > > On Sunday, March 16, 2014 1:46:58 AM UTC+8, Jens Alfke wrote: >> >> >> On Mar 15, 2014, at 9:41 AM, archit agarwal <[email protected]> wrote: >> >> Can you give me an example of this method's usage - how can I use this >> with datasource for this filtering? >> >> - (void) reloadFromQuery >> >> >> Modify that method to remove unwanted items from _rows right after it >> assigns the new value to _rows. >> >> —Jens >> > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/85f2768e-93a6-4f4a-8b24-98b7f3b31627%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
