MCPcopy
hub / github.com/midwayjs/midway / assign

Method assign

packages/crud/src/mikro/utils.ts:15–15  ·  view source on GitHub ↗
(entity: T, data: any)

Source from the content-addressed store, hash-verified

13 findOne(where: any, options?: any): Promise<T | null>;
14 create(data: any): T;
15 assign(entity: T, data: any): T;
16 persistAndFlush(entity: T): Promise<void>;
17 nativeDelete(where: any): Promise<number>;
18}

Callers 15

createNewStarterFunction · 0.80
startFunction · 0.80
generatePathMethod · 0.80
generateRouteMethodMethod · 0.80
parseSubPropertyTypeMethod · 0.80
addPathsMethod · 0.80
addSchemaMethod · 0.80
createClientFunction · 0.80
loadProtoFunction · 0.80
applicationInitializeMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by 1

makeRequestFunction · 0.64