pg-mvc-service 2.0.13 → 2.0.14

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.
@@ -67,7 +67,9 @@ class TableModel {
67
67
  };
68
68
  sql += joins[join.type];
69
69
  sql += ` ${join.model.TableName} as "${join.model.TableAlias}" ON `;
70
+ console.log('createSqlFronJOin', this.vars);
70
71
  const query = WhereExpression_1.default.createCondition(join.conditions, this, this.vars.length + 1);
72
+ console.log('createSqlFronJoin end', this.vars, query.vars);
71
73
  sql += query.expression;
72
74
  if (query.vars !== undefined) {
73
75
  this.vars = [...this.vars, ...query.vars];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-mvc-service",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {
@@ -89,7 +89,9 @@ export class TableModel {
89
89
  }
90
90
  sql += joins[join.type];
91
91
  sql += ` ${join.model.TableName} as "${join.model.TableAlias}" ON `;
92
+ console.log('createSqlFronJOin', this.vars);
92
93
  const query = WhereExpression.createCondition(join.conditions, this, this.vars.length + 1);
94
+ console.log('createSqlFronJoin end', this.vars, query.vars);
93
95
  sql += query.expression;
94
96
  if (query.vars !== undefined) {
95
97
  this.vars = [...this.vars, ...query.vars]