couchdb-nano icon indicating copy to clipboard operation
couchdb-nano copied to clipboard

Allow Adding Custom Query Parameters

Open meSmashsta opened this issue 4 years ago • 1 comments

This will make it cross-compatible across the Couch family (IBM CouchDB, Couchbase's Sync Gateway 1.5 & below, etc).

For example, if I were to use _changes API of Sync Gateway 1.5 (or below) I will not be able to use the filter param which is the equivalent of CouchDB's selector.

This feature will look like something like this:

const db = nano.db.use('mydb')
db.changesReader.start({ filter: 'sync_gateway/bychannel', channels: 'channel1,channel2' })

meSmashsta avatar Mar 31 '21 05:03 meSmashsta

I need something like this to update.

kanongil avatar Oct 14 '21 09:10 kanongil