creationix / couch-client

A minimal CouchDB client that easy and powerful
MIT License
101 stars 9 forks source link

changes should allow arbitrary query params #1

Open jchris opened 14 years ago

jchris commented 14 years ago

I need to specify a filter for my changes function. I think the first argument should be an options hash so that that can be done. (Also filters can take arbitrary query params, so those are definitely needed.)

I do agree with the default hearbeat and feed setting you have.

creationix commented 14 years ago

I'd like to keep the API as minimal as possible. If you want to do anything custom, the request method makes that pretty easy. I really don't want to force people to use my abstraction methods for every possible use case. I find abstractions leaky as best most the time.

That said, you're welcome to submit a patch for this. I'm not set on the API for changes yet.