Interface: AsyncQueryable<Data, Details, O, QE, QueryBuilder, Options>
Type parameters​
Name | Type |
---|---|
Data | Data |
Details | Details |
O | extends Operation |
QE | extends QueryExpression |
QueryBuilder | QueryBuilder |
Options | extends RequestOptions = RequestOptions |
Hierarchy​
AsyncQueryable
↳
Queryable
Methods​
query​
â–¸ query<RequestData
>(queryOrExpressions
, options?
, id?
): Promise
<RequestData
>
Type parameters​
Name | Type |
---|---|
RequestData | Data |
Parameters​
Name | Type |
---|---|
queryOrExpressions | QueryOrExpressions <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​
Name | Type |
---|---|
RequestData | Data |
RequestDetails | Details |
RequestOperation | extends Operation = O |
Parameters​
Name | Type |
---|---|
queryOrExpressions | QueryOrExpressions <QE , QueryBuilder > |
options | FullRequestOptions <Options > |
id? | string |
Returns​
Promise
<FullResponse
<RequestData
, RequestDetails
, RequestOperation
>>