MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / clone

Method clone

packages/core/fumadb/src/schema/create.ts:479–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected