> On Oct 23, 2014, at 2:43 PM, Martin Palatnik <[email protected]> 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/76642A72-92B1-47B5-BBE3-B4E59572FE9A%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to