Skip to content

Commit

Permalink
fix minor typo "JSON.stringfy" in promise-api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JTBrinkmann authored Sep 7, 2021
1 parent f68ecb3 commit aed4694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/promise-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ connection

### Placeholder

To prevent SQL Injection attacks, queries permit the use of question marks as placeholders. The Connection escapes values according to their type. Values can be of native JavaScript types, Buffers, Readables, objects with `toSQLString` methods, or objects that can be stringified (that is, `JSON.stringfy`).
To prevent SQL Injection attacks, queries permit the use of question marks as placeholders. The Connection escapes values according to their type. Values can be of native JavaScript types, Buffers, Readables, objects with `toSQLString` methods, or objects that can be stringified (that is, `JSON.stringify`).

When streaming, objects that implement Readable are streamed automatically. But, there are two server system variables that may interfere:

Expand Down

0 comments on commit aed4694

Please sign in to comment.