useQueryRef
useQueryRef<
TQuery
>(queryDef
,options?
):object
Defined in: useQuery.ts:32
Type Parameters
Section titled “Type Parameters”TQuery
Section titled “TQuery”TQuery
extends Any
Parameters
Section titled “Parameters”queryDef
Section titled “queryDef”TQuery
options?
Section titled “options?”otelContext?
Section titled “otelContext?”Context
Parent otel context for the query
otelSpanName?
Section titled “otelSpanName?”string
The name of the span to use for the query
store?
Section titled “store?”Store
<LiveStoreSchema
<DbSchema
, EventDefRecord
>, { }>
Returns
Section titled “Returns”object
queryRcRef
Section titled “queryRcRef”queryRcRef:
RcRef
<LiveQuery
<GetResult
<TQuery
>>>
valueRef
Section titled “valueRef”valueRef:
RefObject
<GetResult
<TQuery
>>