mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
fix formatting
This commit is contained in:
1 parent
40dee21923
commit
eef4b7bdf9
8 files changed
+10
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user