(type: Type, onInitNames: (ormName: string) => NameVariants)
| 470 | id = true; |
| 471 | |
| 472 | constructor(type: Type, onInitNames: (ormName: string) => NameVariants) { |
| 473 | super(type, (ormName) => ({ |
| 474 | ...onInitNames(ormName), |
| 475 | mongodb: "_id", |
| 476 | })); |
| 477 | } |
| 478 | |
| 479 | override clone() { |
| 480 | const clone = new IdColumn(this.type, () => this.names); |
nothing calls this directly
no outgoing calls
no test coverage detected