MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / getColumn

Method getColumn

packages/sql/src/schema/DatabaseTable.ts:63–65  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

61 }
62
63 getColumn(name: string): Column | undefined {
64 return this.#columns[name];
65 }
66
67 removeColumn(name: string): void {
68 delete this.#columns[name];

Callers 13

foreignKeysToPropsMethod · 0.95
getPreAlterTableMethod · 0.80
getAlterTempTableSQLMethod · 0.80
diffTableMethod · 0.80
fromMetadataMethod · 0.80
alterTableColumnFunction · 0.80
createIndexFunction · 0.80
createIndexMethod · 0.80
createIndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected