I just took a minute to debug this. The answer is simply that there isn't any support (yet) for JavaScript-based filters. The JavaScriptCore integration only supports views (map and reduce functions) so far.
I don't think it would be hard to implement (based on CBLJSViewFunction) but no one's done it. --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/cd0b1e79-afe4-487a-a116-a92f6824f475%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
