Comparing version 0.0.7 to 0.0.8
@@ -43,3 +43,3 @@ const mysql = require('../mysql') | ||
linkMode = 'or' | ||
} | ||
} | ||
SQL = SQL + 'where ' + conditions.join(` ${linkMode} `) | ||
@@ -57,3 +57,3 @@ } | ||
likeMode = 'not like' | ||
} | ||
} | ||
conditions.push(`${key} ${likeMode} ${mysql.escape(this.conditions['like']['key'][key]) }`) | ||
@@ -78,3 +78,3 @@ } | ||
} | ||
SQL = `update ${this.table} set ${updateconditions.join(', ')} where ${whereconditions.join('and')}` | ||
SQL = `update ${this.table} set ${updateconditions.join(', ')} where ${whereconditions.join(' and ')}` | ||
break | ||
@@ -81,0 +81,0 @@ default: |
{ | ||
"name": "h-orm", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/yuanhaoyu/h-orm.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167881
17