wok-server 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,8 +209,9 @@ class MysqlCriteria {
209
209
  }
210
210
  if (typeof criterion.value !== 'number' &&
211
211
  typeof criterion.value !== 'string' &&
212
+ typeof criterion.value !== 'boolean' &&
212
213
  !(criterion.value instanceof Date)) {
213
- throw new exception_1.MysqlException('The value of the query criteria is invalid,only number,string and Date are supported,' +
214
+ throw new exception_1.MysqlException('The value of the query criteria is invalid,only number,string,boolean and Date are supported,' +
214
215
  `column name : ${criterion.key.toString()},value : ${criterion.value} .`);
215
216
  }
216
217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wok-server",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "packageManager": "pnpm@8.9.0",
5
5
  "description": "一个基于 NodeJs 和 TypeScript 的后端框架,轻量级、克制、简洁。A lightweight, restrained, and concise backend framework based on Node.js and TypeScript.",
6
6
  "scripts": {