pg-mvc-service 2.0.16 → 2.0.17
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.
|
@@ -210,7 +210,7 @@ class TableModel {
|
|
|
210
210
|
* @param conditions 結合条件を指定します。条件はオブジェクトまたは文字列で指定できます。
|
|
211
211
|
*/
|
|
212
212
|
join(joinType, joinModel, conditions) {
|
|
213
|
-
console.log({ type: joinType,
|
|
213
|
+
console.log({ type: joinType, conditions: conditions }, this.joinConditions);
|
|
214
214
|
this.joinConditions.push({ type: joinType, model: joinModel, conditions: conditions });
|
|
215
215
|
}
|
|
216
216
|
where(left, operator, right) {
|
package/package.json
CHANGED
package/src/models/TableModel.ts
CHANGED
|
@@ -250,7 +250,7 @@ export class TableModel {
|
|
|
250
250
|
* @param conditions 結合条件を指定します。条件はオブジェクトまたは文字列で指定できます。
|
|
251
251
|
*/
|
|
252
252
|
public join(joinType: 'left' | 'inner' | 'full', joinModel: TableModel, conditions: Array<TNestedCondition>): void {
|
|
253
|
-
console.log({type: joinType,
|
|
253
|
+
console.log({type: joinType, conditions: conditions}, this.joinConditions);
|
|
254
254
|
this.joinConditions.push({type: joinType, model: joinModel, conditions: conditions});
|
|
255
255
|
}
|
|
256
256
|
|