> On Jul 20, 2015, at 11:43 AM, atom992 <[email protected]> wrote: > > Hi, I am using couchbaselite-phonegap-plugin 1.1 for android, and when I > using REST api to get _changes with filter function and view function,it > does't work. does this mean that parameter isn’t implemented.?
Yes, that’s what I said above: the “view=” query parameter isn’t supported. > If I use filter=XXX in the _changes request, it return 404,but when I use > filters=XXX It return all docs. “filters=XXX” will just be ignored because that’s not a known query parameter. In the REST API you put filter functions in design documents as JS code — specifying “filter=ddoc/foo” will look for a design document named “_design/ddoc”, find a dictionary property named “filters" in it, and look for a string property named “foo” in that. —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/CAB4D0FD-4E6F-4F24-9EFB-0951086A1A20%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
