On Dec 20, 2015, at 10:24 PM, Shiv Veerashetty 
<[email protected]<mailto:[email protected]>> wrote:

To replicate documents, i am using rest apis in my ionic application.
Can some tell me , how to replicate from specific channels only ?

add
“filter”: “sync_gateway/bychannel”,
“channels”: “foo,bar”

Sorry this isn’t documented; the REST API docs are pretty incomplete. CouchDB’s 
docs<http://docs.couchdb.org/en/latest/api/server/common.html#replicate> are 
better, but also incomplete; for example they don’t mention the “filter” 
property either. The old CouchDB 
wiki<http://wiki.apache.org/couchdb/Replication#Filtered_Replication> does 
document filters.

—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/AEAC7D61-FAE1-4126-AF2C-3F5E985C547C%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to