You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by gl...@apache.org on 2024/08/14 12:15:09 UTC
(couchdb-nano) branch main updated: docs: correct db.destroy description (#333)
This is an automated email from the ASF dual-hosted git repository.
glynnbird pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git
The following commit(s) were added to refs/heads/main by this push:
new 1076ecc docs: correct db.destroy description (#333)
1076ecc is described below
commit 1076ecc229b5c60f2b3af6c6d01f591c9dcc1f22
Author: Yakov Litvin <ya...@gmail.com>
AuthorDate: Wed Aug 14 15:15:03 2024 +0300
docs: correct db.destroy description (#333)
* docs: correct db.destroy description
* Update README.md
Fix grammar while we're at it: whose not who's
---------
Co-authored-by: Glynn Bird <gl...@gmail.com>
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1b6596f..885fb96 100644
--- a/README.md
+++ b/README.md
@@ -541,7 +541,7 @@ const response = await alice.insert({ _id: 'myid', _rev: '1-23202479633c2b380f79
### db.destroy(docname, rev, [callback])
-Removes a document from CouchDB whose `_id` is `docname` and who's revision is `_rev`:
+Removes a document from CouchDB whose `_id` is `docname` and whose revision (`_rev`) is `rev`:
```js
const response = await alice.destroy('rabbit', '3-66c01cdf99e84c83a9b3fe65b88db8c0')