mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
keywords
This commit is contained in:
1 parent
daf6a505fc
commit
d2753fb2fd
10 files changed
+47
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user