tspace-mysql 1.2.9 → 1.3.0

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.
@@ -2330,7 +2330,7 @@ class Model extends AbstractModel_1.AbstractModel {
2330
2330
  }
2331
2331
  case true: {
2332
2332
  const result = yield this.actionStatement({
2333
- sql: new Model().copyModel(this, { update: true }).toString()
2333
+ sql: new Model().copyModel(this, { update: true, where: true }).toString()
2334
2334
  });
2335
2335
  if (this.$state.get('VOID'))
2336
2336
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tspace-mysql",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "description": "mysql query builder object relational mapping",
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.ts",