Update for docs (#116)

* Update for docs

* More changes and fix
This commit is contained in:
Maciej Ratyński authored and GitHub committed 2023-04-21 00:07:57 +10:00
1 parent 5850640094
commit 8ca3c1bdfc
21 files changed
+190 -7

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ When selecting data it will return all matching rows and columns, otherwise it w
```lua
-- alias: exports.oxmysql:query
-- alias: MySQL.Async.query
-- alias: exports.ghmattimysql:execute
MySQL.query('SELECT * FROM users WHERE identifier = ?', {playerIdentifier}, function(result)
if result then
@@ -26,6 +27,7 @@ end)
```lua
-- alias: exports.oxmysql:query_async
-- alias: MySQL.Sync.query
-- alias: exports.ghmattimysql:executeSync
local result = MySQL.query.await('SELECT * FROM users WHERE identifier = ?', {playerIdentifier})
if result then