mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-04 06:28:53 +00:00
Fixed wrong variable name
This commit is contained in:
1 file changed
+1
-1
@@ -23,7 +23,7 @@ Returns the number of affected rows by the query.
|
||||
-- Alias: MySQL.update
|
||||
|
||||
CreateThread(function()
|
||||
local id = MySQL.update.await('UPDATE users SET firstname = ? WHERE identifier = ? ', {newName, playerIdentifier})
|
||||
local affectedRows = MySQL.update.await('UPDATE users SET firstname = ? WHERE identifier = ? ', {newName, playerIdentifier})
|
||||
if affectedRows then
|
||||
print(affectedRows)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user