#
Interface: UseTransactionQuery<GeneratedSchema>#
Type parametersName | Type |
---|---|
GeneratedSchema | object |
GeneratedSchema.query | object |
#
Callableâ–¸ UseTransactionQuery<TData, TVariables>(fn
: (query
: GeneratedSchema[query], variables
: TVariables) => TData, ...__namedParameters
: undefined extends TVariables ? [UseTransactionQueryOptions<TData, TVariables>?] : [UseTransactionQueryOptions<TData, TVariables>]): UseTransactionQueryState<TData>
#
Type parameters:Name | Default |
---|---|
TData | - |
TVariables | undefined |
#
Parameters:Name | Type |
---|---|
fn | (query : GeneratedSchema[query], variables : TVariables) => TData |
...__namedParameters | undefined extends TVariables ? [UseTransactionQueryOptions<TData, TVariables>?] : [UseTransactionQueryOptions<TData, TVariables>] |
Returns: UseTransactionQueryState<TData>
Defined in: query/useTransactionQuery.ts:123