Thank you for your help, I try to use filter and it worked well. : )

在 2015年4月23日星期四 UTC+9上午1:15:04,Jens Alfke写道:
>
>
> 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.)
>
> If you want to filter the changes, use the “filter” parameter and define a 
> filter function.
>
> —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/6c7e72a9-1720-4542-95ba-0d521ed88cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to