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

+5
View File
@@ -1,9 +1,11 @@
# Update
Returns the number of affected rows by the query.
## Lua
### Callback
```lua
-- alias: exports.oxmysql:update
-- alias: MySQL.Async.execute
@@ -16,6 +18,7 @@ end)
```
### Promise
```lua
-- alias: exports.oxmysql:update_async
-- alias: MySQL.Sync.execute
@@ -29,6 +32,7 @@ end
## JavaScript
### Callback
```js
// alias: exports.oxmysql.update
@@ -40,6 +44,7 @@ MySQL.update('UPDATE users SET firstname = ? WHERE identifier = ? ', [newName, p
```
### Promise
```js
// alias: exports.oxmysql.update_async