Fixed wrong variable name

This commit is contained in:
Dolu authored and GitHub committed 2022-01-21 08:34:46 +01:00
1 parent 90a5895882
commit 937084a9a0
1 file changed
+2 -2
+2 -2
View File
@@ -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
@@ -46,4 +46,4 @@ Returns the number of affected rows by the query.
if (affectedRows)
console.log(affectedRows)
})
```
```