Skip to content

Commit

Permalink
docs: correct db.destroy description (#333)
Browse files Browse the repository at this point in the history
* docs: correct db.destroy description

* Update README.md

Fix grammar while we're at it: whose not who's

---------

Co-authored-by: Glynn Bird <[email protected]>
  • Loading branch information
YakovL and glynnbird authored Aug 14, 2024
1 parent a405ee9 commit 1076ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1076ecc

Please sign in to comment.