()
| 477 | } |
| 478 | |
| 479 | override clone() { |
| 480 | const clone = new IdColumn(this.type, () => this.names); |
| 481 | clone.ormName = this.ormName; |
| 482 | clone.isNullable = this.isNullable; |
| 483 | clone.isUnique = this.isUnique; |
| 484 | clone.default = this.default; |
| 485 | clone.table = this.table; |
| 486 | return clone; |
| 487 | } |
| 488 | |
| 489 | override defaultTo$(fn: DefaultFunction<Type>) { |
| 490 | return super.defaultTo$(fn) as IdColumn<Type, In | null, Out>; |
nothing calls this directly
no outgoing calls
no test coverage detected