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

Method constructor

packages/core/fumadb/src/schema/create.ts:472–477  ·  view source on GitHub ↗
(type: Type, onInitNames: (ormName: string) => NameVariants)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected