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

Method splitPrimaryKeys

packages/core/src/utils/Utils.ts:534–536  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

532 }
533
534 static splitPrimaryKeys<T extends object>(key: string): EntityKey<T>[] {
535 return key.split(this.PK_SEPARATOR) as EntityKey<T>[];
536 }
537
538 static getPrimaryKeyValues<T>(
539 entity: T,

Callers 7

nativeUpdateManyFunction · 0.80
constructorMethod · 0.80
mapperMethod · 0.80
upsertManyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected