Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Adding Custom Query Parameters #260

Open
meSmashsta opened this issue Mar 31, 2021 · 1 comment
Open

Allow Adding Custom Query Parameters #260

meSmashsta opened this issue Mar 31, 2021 · 1 comment

Comments

@meSmashsta
Copy link

meSmashsta commented Mar 31, 2021

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' })
@kanongil
Copy link

I need something like this to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants