On Tuesday, 18 November 2014 01:00:19 UTC-5, Jens Alfke wrote: > > > On Nov 17, 2014, at 6:04 PM, Marc Nicholas <[email protected] <javascript:>> > wrote: > > What I'd like to do is compare a value in an incoming document to a set of > rules gleaned from a document stored in an existing document (working > through them as an array) and then do something if the rules match. We're > talking about very simple 'if value X is > Y" type rules here. > > > The answer is no, if I understand you correctly. The sync function > deliberately operates only on single documents. There is no way for it to > look at another document. Any rules it applies have to be hardcoded into > the sync function itself. >
Thanks, Jens....it did start to seem that the Sync function is only for transitional documents, but I appreciate you clarifying that it's the case :) -m -- 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/2715f58d-12d2-4f49-920a-999d201b9be2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
