On Nov 6, 2015, at 1:50 AM, Brendan Duddridge 
<[email protected]<mailto:[email protected]>> wrote:

For example, say a username field is used to assign documents to channels and a 
user edits the document JSON directly to change the username to "fred" even 
though he's "steve" and then that document gets assigned to the "fred" channel. 
Fred then downloads that document to their device because Steve buggered up the 
document's username property?

That’s why the sync function has to do validation of incoming documents.
(I hate to say “RTFM”, but this is covered in the docs about the sync function.)

—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/C38D6FF3-C1DF-4BD7-860C-4589EB490240%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to