You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/09/30 15:21:56 UTC

[GitHub] [couchdb-nano] glynnbird commented on issue #183: nano.use is not a function... Readme.md not up-to-date?

glynnbird commented on issue #183: nano.use is not a function... Readme.md not up-to-date? 
URL: https://github.com/apache/couchdb-nano/issues/183#issuecomment-536612669
 
 
   Thanks for reporting but I can't reproduce this. Here's my even simpler test case:
   
   ```js
   const nano = require('nano')('http://localhost:5984');
   console.log(typeof nano.use)
   // function
   ```
   
   i.e. nano.use _is_ a function. Also `nano.db.use` is the same function. As can be seen from the code https://github.com/apache/couchdb-nano/blob/master/lib/nano.js#L961 & https://github.com/apache/couchdb-nano/blob/master/lib/nano.js#L975

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services