Function: getQueryKey()
getQueryKey<
TConfig
,TProcedureOrRouter
,TFlags
>(..._params
):TRPCQueryKey
Method to extract the query key for a procedure
Link
https://trpc.io/docs/v11/getQueryKey
Type parameters
Parameter |
---|
TConfig extends RootConfig < {ctx : any ; errorShape : any ; meta : any ; transformer : any ;}, TConfig > |
TProcedureOrRouter extends AnyMutationProcedure | AnyQueryProcedure | AnyRouter |
TFlags |
Parameters
Parameter | Type |
---|---|
..._params | GetParams < TConfig , TProcedureOrRouter , TFlags > |
Returns
TRPCQueryKey
Source
packages/react-query/src/internals/getQueryKey.ts:133
Generated using TypeDoc and typedoc-plugin-markdown