Skip to main content

Interface: UseTransactionQuery<GeneratedSchema>#

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 PabloSzx