Skip to content

Commit

Permalink
Update mysql.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ov-tron authored Dec 19, 2022
1 parent 0824cb6 commit 6eed11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/DBify_Library/dep/orm/mysql.lua
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ dbify.mysql = {
queryString = queryString.." FROM `??` WHERE"
for i = 1, imports.table.length(keyColumns), 1 do
local j = keyColumns[i]
imports.table.insert(queryArguments, imports.tostring(j[1]))
imports.table.insert(queryArguments, j[1])
imports.table.insert(queryArguments, imports.tostring(j[2]))
queryString = queryString.." `??`=?"..(((i < imports.table.length(keyColumns)) and " AND") or "")
end
Expand Down

0 comments on commit 6eed11b

Please sign in to comment.