Skip to main content

Function: makeQueryModelLoaderExtractor()

makeQueryModelLoaderExtractor<V>(pullValue, parseValue): <I>(instance, relation) => undefined | null | object | object[]

Type parameters

V

Parameters

pullValue

parseValue

Returns

Function

Type parameters

I extends ModelInstance

Parameters

instance: I

relation: ModelRelationKey<I>

Returns

undefined | null | object | object[]

Source

packages/core/src/model/relations/makeQueryModelLoaderExtractor.ts:5