Skip to content

Commit

Permalink
Document that encodings implies utf8 default
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Oct 9, 2021
1 parent 0837a16 commit d1b6d89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -313,9 +313,7 @@ Does db have the methods `createReadStream`, `createKeyStream` and `createValueS

### `encodings` (boolean)

Do all relevant db methods take `keyEncoding` and `valueEncoding` options?

_TBD: what this means for `*asBuffer` options._
Do all relevant db methods take `keyEncoding` and `valueEncoding` options? If true, the db must use a default encoding of utf8 and all its operations must return strings rather than buffers by default.

<details>
<summary>Support matrix</summary>
Expand Down

0 comments on commit d1b6d89

Please sign in to comment.