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

Method values

packages/core/src/utils/Utils.ts:1101–1103  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

1099 }
1100
1101 static values<T extends object>(obj: T): T[keyof T][] {
1102 return Object.values(obj) as T[keyof T][];
1103 }
1104
1105 static entries<T extends object>(obj: T): [keyof T, T[keyof T]][] {
1106 return Object.entries(obj) as [keyof T, T[keyof T]][];

Callers 15

transformResultMethod · 0.45
collectStatementsMethod · 0.45
executeMethod · 0.45
mapJoinedPropsFunction · 0.45
nativeUpdateManyFunction · 0.45
syncCollectionsFunction · 0.45
getPreAlterTableMethod · 0.45
getPostAlterTableMethod · 0.45
getPreAlterTableMethod · 0.45
createTableMethod · 0.45
getAddColumnsSQLMethod · 0.45

Calls

no outgoing calls

Tested by 4

asSnapshotFunction · 0.36
insertTestDataFunction · 0.36
createSimpleMetadataFunction · 0.36
afterFlushMethod · 0.36