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 @@
# Single
Returns the columns for a single row.
## Lua
### Callback
```lua
-- alias: exports.oxmysql:single
-- alias: MySQL.Async.fetchSingle
@@ -16,6 +18,7 @@ end)
```
### Promise
```lua
-- alias: exports.oxmysql:single_async
-- alias: MySQL.Sync.fetchSingle
@@ -29,6 +32,7 @@ end
## JavaScript
### Callback
```js
// alias: exports.oxmysql.single
@@ -40,6 +44,7 @@ MySQL.single('SELECT * FROM users WHERE identifier = ?', [playerIdentifier],(row
```
### Promise
```js
// alias: exports.oxmysql.single_async