Prevent a document from getting synced if not of particular type

8 views
Skip to first unread message

parvez....@decurtis.com

unread,
Dec 8, 2017, 6:05:42 AM12/8/17
to Couchbase Mobile
In Couchbase lite ios, how one can prevent syncing of a document via replication if that doc has the correct channel but do not have a type field?

Jens Alfke

unread,
Dec 12, 2017, 1:50:57 PM12/12/17
to mobile-c...@googlegroups.com


On Dec 8, 2017, at 3:05 AM, parvez....@decurtis.com wrote:

In Couchbase lite ios, how one can prevent syncing of a document via replication if that doc has the correct channel but do not have a type field?

Use a push replication filter.

—Jens

Jens Alfke — Mobile Architect — Couchbase, Inc.

Reply all
Reply to author
Forward
0 new messages