> On Oct 3, 2014, at 2:42 AM, Raheel Mateen <[email protected]> wrote: > > Now what i am looking is that I want to search only those document which are > in between previousTime and current time
Create a view whose map function emits the timestamp as the key. Then query with startKey=previousTime and no endKey. Have your read the View <http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/view/index.html#understanding-map-functions> and Query docs? —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/92CC6691-3970-454C-BBA1-751E70B65086%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
