* Set a database-level default value * * For schemaless database, it's still generated on runtime
(value: TypeMap[Type])
| 422 | * For schemaless database, it's still generated on runtime |
| 423 | */ |
| 424 | defaultTo(value: TypeMap[Type]): Column<Type, In | null, Out> { |
| 425 | this.default = { value }; |
| 426 | return this; |
| 427 | } |
| 428 | |
| 429 | clone() { |
| 430 | const clone = new Column(this.type, () => this.names); |
no outgoing calls
no test coverage detected