Skip to main content
Version: 0.17

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

Type parameters

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

Methods

query

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

Type parameters

NameType
RequestDataData

Parameters

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

Returns

RequestData

Defined in

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

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

Type parameters

NameType
RequestDataData
RequestDetailsDetails
RequestOperationextends Operation = O

Parameters

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

Returns

FullResponse<RequestData, RequestDetails, RequestOperation>

Defined in

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