(idFields: FieldDef[])
| 2112 | } |
| 2113 | |
| 2114 | private makeIdSelect(idFields: FieldDef[]) { |
| 2115 | if (idFields.length === 0) { |
| 2116 | throw this.errors['noId']; |
| 2117 | } |
| 2118 | return idFields.reduce((acc, curr) => ({ ...acc, [curr.name]: true }), {}); |
| 2119 | } |
| 2120 | |
| 2121 | private makeIdConnect(idFields: FieldDef[], id: string | number) { |
| 2122 | if (idFields.length === 1) { |
no outgoing calls
no test coverage detected