Zum Hauptinhalt springen

Class: ObjectRetriever<T>

Type parameters

NameType
Tunknown

Constructors

constructor

new ObjectRetriever<T>(retriever, objectNodeMapping): ObjectRetriever<T>

Type parameters

NameType
Tunknown

Parameters

NameType
retrieverBaseRetriever<unknown>
objectNodeMappingBaseObjectNodeMapping

Returns

ObjectRetriever<T>

Defined in

packages/core/src/objects/base.ts:57

Properties

_objectNodeMapping

_objectNodeMapping: BaseObjectNodeMapping

Defined in

packages/core/src/objects/base.ts:55


_retriever

_retriever: BaseRetriever<unknown>

Defined in

packages/core/src/objects/base.ts:54

Accessors

retriever

get retriever(): BaseRetriever<unknown>

Returns

BaseRetriever<unknown>

Defined in

packages/core/src/objects/base.ts:66

Methods

retrieve

retrieve(strOrQueryBundle): Promise<T[]>

Parameters

NameType
strOrQueryBundlestring

Returns

Promise<T[]>

Defined in

packages/core/src/objects/base.ts:71