wok-server 0.4.11 → 0.4.12
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.
|
@@ -171,9 +171,6 @@ class BaseMysqlManager {
|
|
|
171
171
|
* @returns 更新是否成功
|
|
172
172
|
*/
|
|
173
173
|
updateOne(table, criteria, updater) {
|
|
174
|
-
if (!Object.keys(criteria).length) {
|
|
175
|
-
throw new exception_1.MysqlException('criteria cannot be empty !');
|
|
176
|
-
}
|
|
177
174
|
if (!Object.keys(updater).length) {
|
|
178
175
|
throw new exception_1.MysqlException('updater cannot be empty !');
|
|
179
176
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wok-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
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": {
|