Skip to content

Commit

Permalink
add new version
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjian committed Dec 26, 2024
1 parent 73084c3 commit d9227d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/h-mysql.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* h-mysql v1.0.24
* h-mysql v1.0.25
* (c) 2018-2024 haizlin https://github.com/haizlin/h-mysql
* Licensed MIT
* Released on: February 1, 2018
Expand Down Expand Up @@ -65,7 +65,7 @@ function getWhereToString(opt) {
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$2.escape(checkType(item[chi_item]))} `;
}
} else {
if (isType(item[chi_item], 'object')) {
Expand Down

0 comments on commit d9227d8

Please sign in to comment.