I noticed here:

http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/database/get-changes/index.html

that there's a parameter "view" that is supported as part of _changes.

1. What's a right value for it? If the design doc is "_design/utils" and 
the view function is "by_id" should the value be "utils/by_id" ?

2. How does this work?

Does it call the "map" function of a given view?

3. Can I pass it parameters? If so, how?

If I wanted it to filter the changes by id, could I somehow pass it a list 
of ids to filter for (i.e. ["id1", "id2"] will only monitor changes for 
those documents with those ids)

If it's just a map function, then where do I get access to such parameters?

-- 
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/76c23e95-1461-446f-a868-1aba217b18ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to