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

Method getColumns

packages/sql/src/schema/DatabaseTable.ts:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 getColumns(): Column[] {
60 return Object.values(this.#columns);
61 }
62
63 getColumn(name: string): Column | undefined {
64 return this.#columns[name];

Callers 7

getEntityDeclarationMethod · 0.95
foreignKeysToPropsMethod · 0.95
diffTableMethod · 0.45
createTableFunction · 0.45
appendCommentsMethod · 0.45
appendCommentsMethod · 0.45
getEntityMetadataMethod · 0.45

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected