We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13b7c7 commit 9431c8aCopy full SHA for 9431c8a
README.md
@@ -504,6 +504,16 @@ Listen to db updates, the available `params` are:
504
* `params.timeout` – Number of seconds until CouchDB closes the connection. Default is 60.
505
* `params.heartbeat` – Whether CouchDB will send a newline character (\n) on timeout. Default is true.
506
507
+### nano.info([callback])
508
+
509
+Fetch information about the CouchDB cluster:
510
511
+```js
512
+const info = await nano.info()
513
+```
514
515
+The response is an object with [CouchDB cluster information](https://docs.couchdb.org/en/stable/intro/api.html#server).
516
517
## Document functions
518
519
### db.insert(doc, [params], [callback])
0 commit comments