Function: getQueryKey()
getQueryKey<
TProcedureOrRouter,TPath,TFlags>(..._params):QueryKey
Method to extract the query key for a procedure
Link
https://trpc.io/docs/getQueryKey
Type parameters
| Parameter | 
|---|
| TProcedureOrRouterextendsAnyMutationProcedure|AnyQueryProcedure|AnyRouter | 
| TPathextendsstring | 
| TFlags | 
Parameters
| Parameter | Type | 
|---|---|
| ... _params | GetParams<TProcedureOrRouter,TPath,TFlags> | 
Returns
QueryKey
Source
packages/react-query/src/internals/getQueryKey.ts:82
Generated using TypeDoc and typedoc-plugin-markdown