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

Method set

packages/core/src/entity/EntityHelper.ts:50–52  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

48 return this._id ? em.getPlatform().normalizePrimaryKey<string>(this._id) : null;
49 },
50 set(id: string): void {
51 this._id = id ? em.getPlatform().denormalizePrimaryKey(id) : null;
52 },
53 configurable: true,
54 });
55 }

Callers

nothing calls this directly

Calls 10

unwrapReferenceMethod · 0.80
wrapReferenceMethod · 0.80
isRunningMethod · 0.80
getPrimaryKeyValuesMethod · 0.80
getPlatformMethod · 0.65
denormalizePrimaryKeyMethod · 0.45
getHydratorMethod · 0.45
propagateMethod · 0.45

Tested by

no test coverage detected