Skip to main content

Type parameters

NameType
GeneratedSchemaobject
GeneratedSchema.queryobject

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:#

NameDefault
TData-
TVariablesundefined

Parameters:#

NameType
fn(query: GeneratedSchema["query"], variables: TVariables) => TData
...__namedParametersundefined extends TVariables ? [UseTransactionQueryOptions<TData, TVariables>?] : [UseTransactionQueryOptions<TData, TVariables>]

Returns: UseTransactionQueryState<TData>

Defined in: react/src/query/useTransactionQuery.ts:124

Last updated on by Sam Denty