This commit is contained in:
Linden committed 2023-05-23 02:16:59 +10:00
1 parent daf6a505fc
commit d2753fb2fd
10 files changed
+47 -10

No files matched your search

-2
View File
@@ -8,7 +8,6 @@ Returns the columns for a single row.
```lua
-- alias: exports.oxmysql:single
-- alias: MySQL.Async.fetchSingle
MySQL.single('SELECT * FROM users WHERE identifier = ?', {playerIdentifier}, function(row)
if row then
@@ -21,7 +20,6 @@ end)
```lua
-- alias: exports.oxmysql:single_async
-- alias: MySQL.Sync.fetchSingle
local row = MySQL.single.await('SELECT * FROM users WHERE identifier = ?', {playerIdentifier})
if row then