(idFields: FieldDef[], item: any)
| 2144 | } |
| 2145 | |
| 2146 | private makeCompoundId(idFields: FieldDef[], item: any) { |
| 2147 | return idFields.map((idf) => item[idf.name]).join(this.idDivider); |
| 2148 | } |
| 2149 | |
| 2150 | private makeUpsertWhere(matchFields: any[], attributes: any, typeInfo: ModelInfo) { |
| 2151 | const where = matchFields.reduce((acc: any, field: string) => { |