Skip to main content

Interface: UsePaginatedQuery<GeneratedSchema>#

Type parameters#

NameType
GeneratedSchemaobject
GeneratedSchema.mutationobject
GeneratedSchema.queryobject
GeneratedSchema.subscriptionobject

Callable#

â–¸ UsePaginatedQuery<TData, TArgs>(fn: (query: GeneratedSchema[query], args: TArgs, helpers: CoreHelpers) => TData, options: UsePaginatedQueryOptions<TData, TArgs>): UsePaginatedQueryData<TData, TArgs>

Type parameters:#

NameType
TData-
TArgsnull | string | number | Record<string, any>

Parameters:#

NameType
fn(query: GeneratedSchema[query], args: TArgs, helpers: CoreHelpers) => TData
optionsUsePaginatedQueryOptions<TData, TArgs>

Returns: UsePaginatedQueryData<TData, TArgs>

Defined in: react/src/query/usePaginatedQuery.ts:176

Last updated on by PabloSzx