Have you looked into having a process that listens on the sync gateway changes feed?
> On Nov 17, 2014, at 6:04 PM, Marc Nicholas <[email protected]> wrote: > > Hi, > > Is it a valid (and possible) pattern to embed user-specific, simple business > logic in the Couchbase Sync function? I guess that the notification portion > of the Couch Chat app is somewhat going in this direction. > > 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. > > Possible? Valid? Any thoughts on how to go about this? > > Cheers, > > -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/e2a157a0-06b3-4de7-900b-78b78a41d647%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/568EA9CD-5037-4E95-873B-D19BCB5D8150%40gmail.com. For more options, visit https://groups.google.com/d/optout.
