Return the field type of the primary key.
()
| 203 | |
| 204 | /** Return the field type of the primary key. */ |
| 205 | static getComputedPrimaryType(): FieldTypeString { |
| 206 | const field = this._findPrimaryField(); |
| 207 | |
| 208 | return typeof field.type === "object" |
| 209 | ? (field.type as any).type |
| 210 | : field.type; |
| 211 | } |
| 212 | |
| 213 | /** Return the field properties of the primary key */ |
| 214 | static getComputedPrimaryProps(): FieldProps { |
no test coverage detected