(idFields: FieldDef[])
| 2139 | } |
| 2140 | |
| 2141 | private makeDefaultIdKey(idFields: FieldDef[]) { |
| 2142 | // TODO: support `@@id` with custom name |
| 2143 | return idFields.map((idf) => idf.name).join(DEFAULT_ID_DIVIDER); |
| 2144 | } |
| 2145 | |
| 2146 | private makeCompoundId(idFields: FieldDef[], item: any) { |
| 2147 | return idFields.map((idf) => item[idf.name]).join(this.idDivider); |
no outgoing calls
no test coverage detected