On Thursday, April 23, 2015 at 12:15:04 AM UTC+8, Jens Alfke wrote:
>
>
> On Apr 21, 2015, at 11:57 PM, Alex Lai <[email protected] <javascript:>> 
> wrote:
>
> I try to use view parameter in  _changes 
> <http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/database/get-changes/index.html>
>  rest api. I have set view in database and I have used query to confirm 
> that view works well, but when I use view parameter in _changes rest api, 
> it does not work, it will return all changes, what I want is just return me 
> document which is defined in view. Could some help me?
>
>
> Sorry, that parameter isn’t implemented. :(
>> (Some of the REST API docs were adapted from CouchDB’s, since our API is 
>> based on its. There are a couple of spots where we missed deleting some 
>> features that CouchDB supports that we don’t.)
>
>
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.?


 

>
> If you want to filter the changes, use the “filter” parameter and define a 
>> filter function.
>
>
If I use filter=XXX in the _changes request, it return 404,but when I use 
filters=XXX It return all docs.
 

>
> —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/71c53c77-40ae-4a60-bc2e-02abbd04148c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to