Merge pull request #81 from dolutattoo/docs

Fixed wrong variable name
This commit is contained in:
Linden authored and GitHub committed 2022-01-21 18:47:21 +11:00
commit ab6e0ec92f
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ Returns the number of affected rows by the query.
-- Alias: MySQL.update -- Alias: MySQL.update
CreateThread(function() 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 if affectedRows then
print(affectedRows) print(affectedRows)
end end