Thanks a lot Jens. I will try this and update. Best Regards Shiv
On Tuesday, December 22, 2015 at 12:32:18 AM UTC+5:30, Jens Alfke wrote: > > > On Dec 20, 2015, at 10:24 PM, Shiv Veerashetty <[email protected] > <javascript:>> 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/4d934a19-9f5a-4230-9893-63ba64ab1fa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
