On Nov 5, 2015, at 11:42 AM, Brendan Duddridge 
<[email protected]<mailto:[email protected]>> wrote:

There seems to be a channels property on CBLReplication used for filtering, but 
not on CBLDocument or CBLModel.

Channels are really only a server-side concept. The replicator sends that 
channel list to the server via the _changes feed, and the filtering is done on 
the server. The channel assignments of documents are not downloaded by the 
replicator, so there’s nothing for local code to filter on.

Is "channels" a keyword then for an NSArray property that I would add to my 
CBLModel subclass in order to facilitate assigning documents to channels?

Document/channel assignments are done by the JavaScript “sync function” in Sync 
Gateway. The channels are used for access control and routing to clients.

—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/DAB6591F-8CF9-45E9-BEE0-484891EDD396%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to