fix formatting

This commit is contained in:
Linden committed 2021-12-23 21:33:42 +11:00
1 parent 40dee21923
commit eef4b7bdf9
8 files changed
+10 -3

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ title: prepare
---
The only function that provides true [prepared statements](https://github.com/sidorares/node-mysql2#using-prepared-statements), granting native protection and query planning by MySQL.
Prepare can be used to execute frequently called queries faster and accepts multiple sets of parameters to be used with a single query.
- Date will not return the datestring commonly used in FiveM
- TINYINT 1 and BIT will not return a boolean
- You can only use `?` value placeholders, `??` column placeholders and named placeholders will throw an error
@@ -32,6 +33,7 @@ When using SELECT, the return value will match `fetchAll, fetchSingle, or fetchS
end
end)
```
=== "JavaScript"
**Callback**
```js