Skip to content

Commit

Permalink
modify field
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjian committed Dec 26, 2024
1 parent 849c55e commit 73084c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uitl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function getWhereToString(opt: any) {
if (isType(item[chi_item], 'object')) {
result1 += `${_type} ${checkObjType(chi_item, item[chi_item])}`
} else {
result1 += `${_type} ${chi_item}=${checkType(item[chi_item])} `
result1 += `${_type} ${chi_item}=${mysql.escape(checkType(item[chi_item]))} `
}
} else {
if (isType(item[chi_item], 'object')) {
Expand Down

0 comments on commit 73084c3

Please sign in to comment.