On Apr 11, 2016, at 6:44 AM, Joel W 
<[email protected]<mailto:[email protected]>> wrote:

So would you create a channel per user? and followers of this user are added to 
that users channel so the followers get post syncing to their device?

Yup. And the way to add a followers to the user’s channel is to add the user ID 
to a document property, and use the `access` function in the sync function to 
give them access. The simplest way would be to have a document owned by a user, 
that lists whom they want to follow; then the app just edits this document to 
add or remove subscriptions.

—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/EEE1FCE6-F472-4E82-9DDA-CEDDCC745262%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to