From 8eaebb5123ece75ddca5f02d36b9e0fa92d0fe16 Mon Sep 17 00:00:00 2001 From: Yakov Litvin Date: Tue, 5 Sep 2023 18:12:32 +0300 Subject: [PATCH 1/2] docs: correct db.destroy description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7aae405..df90eda 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 who's revision (`_rev`) is `rev`: ```js const response = await alice.destroy('rabbit', '3-66c01cdf99e84c83a9b3fe65b88db8c0') From 04b5a0a9ff205090e661e43519be301927f69650 Mon Sep 17 00:00:00 2001 From: Glynn Bird Date: Wed, 14 Aug 2024 13:13:27 +0100 Subject: [PATCH 2/2] Update README.md Fix grammar while we're at it: whose not who's --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df90eda..3b72bbc 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 (`_rev`) 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')