formatting and typos

This commit is contained in:
DokaDoka committed 2022-12-11 15:00:43 +11:00
1 parent 75698216e0
commit 724c7e356d
99 files changed
+515 -305

No files matched your search

+4
View File
@@ -5,6 +5,7 @@ Inserts a new entry into the database and returns the insert id for the row, if
## Lua
### Callback
```lua
-- alias: exports.oxmysql:insert
-- alias: MySQL.Async.insert
@@ -15,6 +16,7 @@ end)
```
### Promise
```lua
-- alias: exports.oxmysql:insert_async
-- alias: MySQL.Sync.insert
@@ -26,6 +28,7 @@ print(id)
## JavaScript
### Callback
```js
// alias: exports.oxmysql.insert
@@ -35,6 +38,7 @@ MySQL.insert('INSERT INTO users (identifier, firstname, lastname) VALUES (?, ?,
```
### Promise
```js
// alias: exports.oxmysql.insert_async