That's a nice timing for the 1.0.3 .. I will try your suggestion. Thanls

On Thursday, October 23, 2014 8:17:35 PM UTC-2, Jens Alfke wrote:
>
>
> On Oct 23, 2014, at 2:43 PM, Martin Palatnik <[email protected] 
> <javascript:>> wrote:
>
> 1) Is there a way to delay a row from appearing in the results until the 
> related docd and attachments are replicated?
>
>
> If you're on iOS and using 1.0.3 you can use the new CBLQuery.postFilter 
> property, with an NSPredicate that runs a block that does the test.
>
> 2) Is there a way to provide a temporary placeholder until the related 
> docd and attachments are replicated?
>
>
> No.
>
> 3) Is there to tell a live query to update once the attachment and related 
> docs are replaicated?
>
>
> The live-query will re-run its query every time the database changes, but 
> it won't trigger a notification unless the query results are different. 
> However, if you're using the filter as described above, the results of the 
> query will be different after the related docs appear, because the filter 
> will stop removing the docs that are related to them. So it should work.
>
> —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/fda237c3-d1d5-47b7-8dd3-6650687bcfc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to