Skip to main content
Version: 0.17

Interface: AsyncQueryable<Data, Details, O, QE, QueryBuilder, Options>

Type parameters

NameType
DataData
DetailsDetails
Oextends Operation
QEextends QueryExpression
QueryBuilderQueryBuilder
Optionsextends RequestOptions = RequestOptions

Hierarchy

Methods

query

query<RequestData>(queryOrExpressions, options?, id?): Promise<RequestData>

Type parameters

NameType
RequestDataData

Parameters

NameType
queryOrExpressionsQueryOrExpressions<QE, QueryBuilder>
options?DefaultRequestOptions<Options>
id?string

Returns

Promise<RequestData>

Defined in

packages/@orbit/data/src/queryable.ts:19

query<RequestData, RequestDetails, RequestOperation>(queryOrExpressions, options, id?): Promise<FullResponse<RequestData, RequestDetails, RequestOperation>>

Type parameters

NameType
RequestDataData
RequestDetailsDetails
RequestOperationextends Operation = O

Parameters

NameType
queryOrExpressionsQueryOrExpressions<QE, QueryBuilder>
optionsFullRequestOptions<Options>
id?string

Returns

Promise<FullResponse<RequestData, RequestDetails, RequestOperation>>

Defined in

packages/@orbit/data/src/queryable.ts:24