> On Feb 27, 2015, at 9:46 AM, Christoph Berlin <[email protected]> > wrote: > > Hi Jens, very nice. Quick question: is or will this feature be supported on > the Sync Gateway to allowing us to determine channel access rules?
Inverse relations aren’t useable in a sync function (or a map function for that matter) because their value depends on other documents; so the value of the relation can change without the document itself changing. But the sync and map functions need to be more ‘pure’ functions that don’t depend on state outside the document. —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/CDD1C40C-AEB6-4AEB-BD64-3C07A75E98DA%40mooseyard.com. For more options, visit https://groups.google.com/d/optout.
