couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosduclos <>
Subject [GitHub] couchdb-nano issue #24: Allow forcing GET on VIEW commands (even with keys)
Date Fri, 17 Mar 2017 13:54:52 GMT
GitHub user carlosduclos opened an issue:

    Allow forcing GET on VIEW commands (even with keys)

    [Original issue](
    This issue rose when working against Cloudant. Their pricing is 5 times cheaper for GET
requests than POST requests. I had a lot of requests for small sets of keys, nothing that
couldn't go into a query string, and I had made this change in order to keep my bills down.
    The actual change was rather small - just adding an optional parameter to the request
      let exampleQuery = { 
                reduce : true, 
                group : true, 
                keys : [ [a,b], [c,d] ], 
                forceGet: true // this is the parameter I added
    Do you think this is something that should go into the main branch ?



If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message