[{"data":1,"prerenderedAt":1196},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Fguides\u002Fcalling-operations":3},{"id":4,"title":5,"body":6,"description":1175,"extension":1186,"frontmatter":1187,"heading":5,"meta":1188,"navigation":1189,"order":1190,"path":1191,"seo":1192,"sitemap":1193,"source":4,"stem":1194,"__hash__":1195},"extensions\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Fguides\u002Fcalling-operations.md","Call operations",{"type":7,"value":8,"toc":1174},"minimark",[9,54,81,86,93,183,206,331,335,348,481,487,491,501,648,652,676,680,690,768,779,783,797,1005,1019,1023,1033,1167],[10,11,12,16,17,20,21,24,25,28,29,28,32,24,35,38,39,42,43,28,46,49,50,53],"p",{},[13,14,15],"code",{},"@kubb\u002Fplugin-vue-query"," can generate a typed TanStack Query composable for each operation. ",[13,18,19],{},"GET"," operations get query composables such as ",[13,22,23],{},"useGetPetById",", and ",[13,26,27],{},"POST",", ",[13,30,31],{},"PUT",[13,33,34],{},"PATCH",[13,36,37],{},"DELETE"," operations get mutation composables such as ",[13,40,41],{},"useUpdatePetWithForm",". Each composable calls the client function from ",[13,44,45],{},"@kubb\u002Fplugin-fetch",[13,47,48],{},"@kubb\u002Fplugin-axios",", or ",[13,51,52],{},"@kubb\u002Fplugin-client",".",[55,56,58,59,28,62,28,65,68,69,76,77,80],"blockquote",{"as":57},"important","By default the plugin emits only the factory helpers (",[13,60,61],{},"queryOptions",[13,63,64],{},"queryKey",[13,66,67],{},"mutationKey","). Set ",[70,71,73],"a",{"href":72},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Foptions#hooks",[13,74,75],{},"hooks: true"," in the plugin options to also generate the ",[13,78,79],{},"use*"," composables shown below.",[82,83,85],"h2",{"id":84},"queries","Queries",[10,87,88,89,53],{},"A query composable takes grouped request parameters as its first argument. Parameters accept a value, ref, or getter. See ",[70,90,92],{"href":91},"#refetch-when-parameters-change","reactive parameters",[94,95,100],"pre",{"language":96,"filename":97,"code":98,"class":99},"typescript","usage.ts","import { useGetPetById } from '.\u002Fgen\u002Fhooks\u002FuseGetPetById'\n\nconst { data, error, isLoading } = useGetPetById({ path: { petId: 1n } })","highlights",[13,101,103,130,131,130,133],{"class":102},"language-typescript",[104,105,108,112,116,120,123,126],"span",{"class":106,"style":107},"line","display: inline",[104,109,111],{"style":110},"color:#d73a49;--hls-dark:#f97583","import ",[104,113,115],{"style":114},"color:#005cc5;--hls-dark:#79b8ff","{ ",[104,117,119],{"style":118},"color:#24292e;--hls-dark:#e1e4e8","useGetPetById ",[104,121,122],{"style":114},"} ",[104,124,125],{"style":110},"from ",[104,127,129],{"style":128},"color:#032f62;--hls-dark:#9ecbff","'.\u002Fgen\u002Fhooks\u002FuseGetPetById'","\n",[104,132],{"class":106,"style":107},[104,134,135,138,140,143,145,148,150,153,155,158,161,164,167,170,172,175,177,180],{"class":106,"style":107},[104,136,137],{"style":110},"const ",[104,139,115],{"style":114},[104,141,142],{"style":118},"data",[104,144,28],{"style":110},[104,146,147],{"style":118},"error",[104,149,28],{"style":110},[104,151,152],{"style":118},"isLoading ",[104,154,122],{"style":114},[104,156,157],{"style":110},"= ",[104,159,23],{"style":160},"color:#6f42c1;--hls-dark:#b392f0",[104,162,163],{"style":114},"({ ",[104,165,166],{"style":114},"path",[104,168,169],{"style":110},": ",[104,171,115],{"style":114},[104,173,174],{"style":114},"petId",[104,176,169],{"style":110},[104,178,179],{"style":114},"1n ",[104,181,182],{"style":114},"} })",[10,184,185,186,189,190,193,194,197,198,201,202,205],{},"The second argument has two optional groups. ",[13,187,188],{},"query"," takes any TanStack Query option, and ",[13,191,192],{},"query.client"," sets the ",[13,195,196],{},"QueryClient"," to use. The top-level ",[13,199,200],{},"client"," takes request config for this call, such as ",[13,203,204],{},"baseURL",":",[94,207,209],{"language":96,"code":208,"class":99},"import { useFindPetsByTags } from '.\u002Fgen\u002Fhooks\u002FuseFindPetsByTags'\n\nuseFindPetsByTags(\n  { query: { tags: ['dog'] } },\n  {\n    query: { staleTime: 60_000 },\n    client: { baseURL: 'https:\u002F\u002Fapi.example.com\u002Fv1' },\n  },\n)",[13,210,211,130,227,130,229,130,237,130,265,130,273,130,297,130,318,130,326],{"class":102},[104,212,213,215,217,220,222,224],{"class":106,"style":107},[104,214,111],{"style":110},[104,216,115],{"style":114},[104,218,219],{"style":118},"useFindPetsByTags ",[104,221,122],{"style":114},[104,223,125],{"style":110},[104,225,226],{"style":128},"'.\u002Fgen\u002Fhooks\u002FuseFindPetsByTags'",[104,228],{"class":106,"style":107},[104,230,231,234],{"class":106,"style":107},[104,232,233],{"style":160},"useFindPetsByTags",[104,235,236],{"style":114},"(",[104,238,239,242,244,246,248,251,253,256,259,262],{"class":106,"style":107},[104,240,241],{"style":114},"  { ",[104,243,188],{"style":114},[104,245,169],{"style":110},[104,247,115],{"style":114},[104,249,250],{"style":114},"tags",[104,252,169],{"style":110},[104,254,255],{"style":114},"[",[104,257,258],{"style":128},"'dog'",[104,260,261],{"style":114},"] } }",[104,263,264],{"style":110},",",[104,266,267,270],{"class":106,"style":107},[104,268,269],{"style":110},"  ",[104,271,272],{"style":114},"{",[104,274,275,278,280,282,284,287,289,292,295],{"class":106,"style":107},[104,276,277],{"style":114},"    ",[104,279,188],{"style":114},[104,281,169],{"style":110},[104,283,115],{"style":114},[104,285,286],{"style":114},"staleTime",[104,288,169],{"style":110},[104,290,291],{"style":114},"60_000 ",[104,293,294],{"style":114},"}",[104,296,264],{"style":110},[104,298,299,301,303,305,307,309,311,314,316],{"class":106,"style":107},[104,300,277],{"style":110},[104,302,200],{"style":114},[104,304,169],{"style":110},[104,306,115],{"style":114},[104,308,204],{"style":114},[104,310,169],{"style":110},[104,312,313],{"style":128},"'https:\u002F\u002Fapi.example.com\u002Fv1' ",[104,315,294],{"style":114},[104,317,264],{"style":110},[104,319,320,322,324],{"class":106,"style":107},[104,321,269],{"style":110},[104,323,294],{"style":114},[104,325,264],{"style":110},[104,327,328],{"class":106,"style":107},[104,329,330],{"style":114},")",[82,332,334],{"id":333},"factories","Factories",[10,336,337,338,340,341,343,344,347],{},"Every query operation also exports a ",[13,339,61],{}," factory and a ",[13,342,64],{}," helper for prefetching and invalidation. The key is ",[13,345,346],{},"[{ url }, query]",", built from the operation path and its query params:",[94,349,351],{"language":96,"code":350,"class":99},"import { useQueryClient } from '@tanstack\u002Fvue-query'\nimport { findPetsByTagsQueryKey, findPetsByTagsQueryOptions } from '.\u002Fgen\u002Fhooks\u002FuseFindPetsByTags'\n\nconst queryClient = useQueryClient()\n\nawait queryClient.prefetchQuery(findPetsByTagsQueryOptions({ query: { tags: ['dog'] } }))\nqueryClient.invalidateQueries({ queryKey: findPetsByTagsQueryKey({ query: { tags: ['dog'] } }) })",[13,352,353,130,369,130,389,130,391,130,406,130,408,130,445],{"class":102},[104,354,355,357,359,362,364,366],{"class":106,"style":107},[104,356,111],{"style":110},[104,358,115],{"style":114},[104,360,361],{"style":118},"useQueryClient ",[104,363,122],{"style":114},[104,365,125],{"style":110},[104,367,368],{"style":128},"'@tanstack\u002Fvue-query'",[104,370,371,373,375,378,380,383,385,387],{"class":106,"style":107},[104,372,111],{"style":110},[104,374,115],{"style":114},[104,376,377],{"style":118},"findPetsByTagsQueryKey",[104,379,28],{"style":110},[104,381,382],{"style":118},"findPetsByTagsQueryOptions ",[104,384,122],{"style":114},[104,386,125],{"style":110},[104,388,226],{"style":128},[104,390],{"class":106,"style":107},[104,392,393,395,398,400,403],{"class":106,"style":107},[104,394,137],{"style":110},[104,396,397],{"style":118},"queryClient ",[104,399,157],{"style":110},[104,401,402],{"style":160},"useQueryClient",[104,404,405],{"style":114},"()",[104,407],{"class":106,"style":107},[104,409,410,413,416,418,421,423,426,428,430,432,434,436,438,440,442],{"class":106,"style":107},[104,411,412],{"style":110},"await ",[104,414,415],{"style":118},"queryClient",[104,417,53],{"style":110},[104,419,420],{"style":160},"prefetchQuery",[104,422,236],{"style":114},[104,424,425],{"style":160},"findPetsByTagsQueryOptions",[104,427,163],{"style":114},[104,429,188],{"style":114},[104,431,169],{"style":110},[104,433,115],{"style":114},[104,435,250],{"style":114},[104,437,169],{"style":110},[104,439,255],{"style":114},[104,441,258],{"style":128},[104,443,444],{"style":114},"] } }))",[104,446,447,449,451,454,456,458,460,462,464,466,468,470,472,474,476,478],{"class":106,"style":107},[104,448,415],{"style":118},[104,450,53],{"style":110},[104,452,453],{"style":160},"invalidateQueries",[104,455,163],{"style":114},[104,457,64],{"style":114},[104,459,169],{"style":110},[104,461,377],{"style":160},[104,463,163],{"style":114},[104,465,188],{"style":114},[104,467,169],{"style":110},[104,469,115],{"style":114},[104,471,250],{"style":114},[104,473,169],{"style":110},[104,475,255],{"style":114},[104,477,258],{"style":128},[104,479,480],{"style":114},"] } }) })",[10,482,483,484,486],{},"Mutations export a ",[13,485,67],{}," helper next to the composable.",[82,488,490],{"id":489},"mutations","Mutations",[10,492,493,494,497,498,205],{},"A mutation composable takes only an options object. The grouped request config is the mutation variable, so you pass it to ",[13,495,496],{},"mutate"," or ",[13,499,500],{},"mutateAsync",[94,502,504],{"language":96,"code":503,"class":99},"import { useQueryClient } from '@tanstack\u002Fvue-query'\nimport { useUpdatePetWithForm } from '.\u002Fgen\u002Fhooks\u002FuseUpdatePetWithForm'\n\nconst queryClient = useQueryClient()\n\nconst { mutate } = useUpdatePetWithForm({\n  mutation: { onSuccess: () => queryClient.invalidateQueries() },\n})\n\nmutate({ path: { petId: 1n }, query: { name: 'Fluffy' } })",[13,505,506,130,520,130,536,130,538,130,550,130,552,130,570,130,603,130,608,130,610],{"class":102},[104,507,508,510,512,514,516,518],{"class":106,"style":107},[104,509,111],{"style":110},[104,511,115],{"style":114},[104,513,361],{"style":118},[104,515,122],{"style":114},[104,517,125],{"style":110},[104,519,368],{"style":128},[104,521,522,524,526,529,531,533],{"class":106,"style":107},[104,523,111],{"style":110},[104,525,115],{"style":114},[104,527,528],{"style":118},"useUpdatePetWithForm ",[104,530,122],{"style":114},[104,532,125],{"style":110},[104,534,535],{"style":128},"'.\u002Fgen\u002Fhooks\u002FuseUpdatePetWithForm'",[104,537],{"class":106,"style":107},[104,539,540,542,544,546,548],{"class":106,"style":107},[104,541,137],{"style":110},[104,543,397],{"style":118},[104,545,157],{"style":110},[104,547,402],{"style":160},[104,549,405],{"style":114},[104,551],{"class":106,"style":107},[104,553,554,556,558,561,563,565,567],{"class":106,"style":107},[104,555,137],{"style":110},[104,557,115],{"style":114},[104,559,560],{"style":118},"mutate ",[104,562,122],{"style":114},[104,564,157],{"style":110},[104,566,41],{"style":160},[104,568,569],{"style":114},"({",[104,571,572,574,577,579,581,584,586,589,592,594,596,598,601],{"class":106,"style":107},[104,573,269],{"style":114},[104,575,576],{"style":114},"mutation",[104,578,169],{"style":110},[104,580,115],{"style":114},[104,582,583],{"style":114},"onSuccess",[104,585,169],{"style":110},[104,587,588],{"style":114},"() ",[104,590,591],{"style":110},"=> ",[104,593,415],{"style":118},[104,595,53],{"style":110},[104,597,453],{"style":160},[104,599,600],{"style":114},"() }",[104,602,264],{"style":110},[104,604,605],{"class":106,"style":107},[104,606,607],{"style":114},"})",[104,609],{"class":106,"style":107},[104,611,612,614,616,618,620,622,624,626,628,630,632,634,636,638,641,643,646],{"class":106,"style":107},[104,613,496],{"style":160},[104,615,163],{"style":114},[104,617,166],{"style":114},[104,619,169],{"style":110},[104,621,115],{"style":114},[104,623,174],{"style":114},[104,625,169],{"style":110},[104,627,179],{"style":114},[104,629,294],{"style":114},[104,631,28],{"style":110},[104,633,188],{"style":114},[104,635,169],{"style":110},[104,637,115],{"style":114},[104,639,640],{"style":114},"name",[104,642,169],{"style":110},[104,644,645],{"style":128},"'Fluffy' ",[104,647,182],{"style":114},[82,649,651],{"id":650},"errors-and-transport","Errors and transport",[10,653,654,655,658,659,661,662,497,666,670,671,675],{},"Each generated composable calls the client function with ",[13,656,657],{},"throwOnError: true",". A failed request sets TanStack Query's ",[13,660,147],{},", typed from the error responses in the spec. Set the base URL, authentication, interceptors, serialization, and validation on the client plugin. See the ",[70,663,665],{"href":664},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-fetch","plugin-fetch",[70,667,669],{"href":668},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios","plugin-axios"," guide. With ",[70,672,674],{"href":673},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-client","plugin-client",", set these in your own client module.",[82,677,679],{"id":678},"customize-cache-keys","Customize cache keys",[10,681,682,683,685,686,689],{},"Set ",[13,684,64],{}," on the plugin to change generated keys. String entries are emitted as source code, so use ",[13,687,688],{},"JSON.stringify"," for a string literal.",[94,691,694],{"language":96,"filename":692,"code":693,"class":99},"kubb.config.ts","import { pluginVueQuery } from '@kubb\u002Fplugin-vue-query'\n\npluginVueQuery({\n  queryKey: ({ node }) => [JSON.stringify(node.operationId)],\n})",[13,695,696,130,712,130,714,130,721,130,764],{"class":102},[104,697,698,700,702,705,707,709],{"class":106,"style":107},[104,699,111],{"style":110},[104,701,115],{"style":114},[104,703,704],{"style":118},"pluginVueQuery ",[104,706,122],{"style":114},[104,708,125],{"style":110},[104,710,711],{"style":128},"'@kubb\u002Fplugin-vue-query'",[104,713],{"class":106,"style":107},[104,715,716,719],{"class":106,"style":107},[104,717,718],{"style":160},"pluginVueQuery",[104,720,569],{"style":114},[104,722,723,725,727,729,731,734,737,739,741,744,746,749,751,754,756,759,762],{"class":106,"style":107},[104,724,269],{"style":114},[104,726,64],{"style":114},[104,728,169],{"style":110},[104,730,163],{"style":114},[104,732,733],{"style":118},"node ",[104,735,736],{"style":114},"}) ",[104,738,591],{"style":110},[104,740,255],{"style":114},[104,742,743],{"style":114},"JSON",[104,745,53],{"style":110},[104,747,748],{"style":160},"stringify",[104,750,236],{"style":114},[104,752,753],{"style":118},"node",[104,755,53],{"style":110},[104,757,758],{"style":114},"operationId",[104,760,761],{"style":114},")]",[104,763,264],{"style":110},[104,765,766],{"class":106,"style":107},[104,767,607],{"style":114},[55,769,771,772,774,775,778],{"as":770},"warning","This ",[13,773,64],{}," gives every call the same key, such as ",[13,776,777],{},"['getUserByName']",". If path or query values select different data, add them to the key.",[82,780,782],{"id":781},"load-more-pages","Load more pages",[10,784,785,786,789,790,792,793,796],{},"Configure ",[13,787,788],{},"infinite"," with a query parameter declared by the operation, its initial value, and the response path for the next cursor. Infinite output needs ",[13,791,75],{},", and only operations that declare the ",[13,794,795],{},"queryParam"," receive it.",[798,799,800,904],"code-group",{},[94,801,803],{"language":96,"filename":692,"code":802,"class":99},"import { pluginVueQuery } from '@kubb\u002Fplugin-vue-query'\n\npluginVueQuery({\n  hooks: true,\n  infinite: {\n    queryParam: 'page',\n    initialPageParam: 0,\n    nextParam: 'pagination.next.cursor',\n  },\n})",[13,804,805,130,819,130,821,130,827,130,841,130,851,130,864,130,878,130,892,130,900],{"class":102},[104,806,807,809,811,813,815,817],{"class":106,"style":107},[104,808,111],{"style":110},[104,810,115],{"style":114},[104,812,704],{"style":118},[104,814,122],{"style":114},[104,816,125],{"style":110},[104,818,711],{"style":128},[104,820],{"class":106,"style":107},[104,822,823,825],{"class":106,"style":107},[104,824,718],{"style":160},[104,826,569],{"style":114},[104,828,829,831,834,836,839],{"class":106,"style":107},[104,830,269],{"style":114},[104,832,833],{"style":114},"hooks",[104,835,169],{"style":110},[104,837,838],{"style":114},"true",[104,840,264],{"style":110},[104,842,843,845,847,849],{"class":106,"style":107},[104,844,269],{"style":110},[104,846,788],{"style":114},[104,848,169],{"style":110},[104,850,272],{"style":114},[104,852,853,855,857,859,862],{"class":106,"style":107},[104,854,277],{"style":114},[104,856,795],{"style":114},[104,858,169],{"style":110},[104,860,861],{"style":128},"'page'",[104,863,264],{"style":110},[104,865,866,868,871,873,876],{"class":106,"style":107},[104,867,277],{"style":110},[104,869,870],{"style":114},"initialPageParam",[104,872,169],{"style":110},[104,874,875],{"style":114},"0",[104,877,264],{"style":110},[104,879,880,882,885,887,890],{"class":106,"style":107},[104,881,277],{"style":110},[104,883,884],{"style":114},"nextParam",[104,886,169],{"style":110},[104,888,889],{"style":128},"'pagination.next.cursor'",[104,891,264],{"style":110},[104,893,894,896,898],{"class":106,"style":107},[104,895,269],{"style":110},[104,897,294],{"style":114},[104,899,264],{"style":110},[104,901,902],{"class":106,"style":107},[104,903,607],{"style":114},[94,905,907],{"language":96,"filename":97,"code":906,"class":99},"import { useInfiniteQuery } from '@tanstack\u002Fvue-query'\nimport { findPetsByTagsInfiniteQueryOptions } from '.\u002Fgen\u002Fhooks\u002FuseFindPetsByTagsInfinite'\n\nconst { data, fetchNextPage, hasNextPage } = useInfiniteQuery(\n  findPetsByTagsInfiniteQueryOptions({ query: () => ({ tags: ['dog'] }) }),\n)",[13,908,909,130,924,130,940,130,942,130,969,130,1001],{"class":102},[104,910,911,913,915,918,920,922],{"class":106,"style":107},[104,912,111],{"style":110},[104,914,115],{"style":114},[104,916,917],{"style":118},"useInfiniteQuery ",[104,919,122],{"style":114},[104,921,125],{"style":110},[104,923,368],{"style":128},[104,925,926,928,930,933,935,937],{"class":106,"style":107},[104,927,111],{"style":110},[104,929,115],{"style":114},[104,931,932],{"style":118},"findPetsByTagsInfiniteQueryOptions ",[104,934,122],{"style":114},[104,936,125],{"style":110},[104,938,939],{"style":128},"'.\u002Fgen\u002Fhooks\u002FuseFindPetsByTagsInfinite'",[104,941],{"class":106,"style":107},[104,943,944,946,948,950,952,955,957,960,962,964,967],{"class":106,"style":107},[104,945,137],{"style":110},[104,947,115],{"style":114},[104,949,142],{"style":118},[104,951,28],{"style":110},[104,953,954],{"style":118},"fetchNextPage",[104,956,28],{"style":110},[104,958,959],{"style":118},"hasNextPage ",[104,961,122],{"style":114},[104,963,157],{"style":110},[104,965,966],{"style":160},"useInfiniteQuery",[104,968,236],{"style":114},[104,970,971,973,976,978,980,982,984,986,988,990,992,994,996,999],{"class":106,"style":107},[104,972,269],{"style":114},[104,974,975],{"style":160},"findPetsByTagsInfiniteQueryOptions",[104,977,163],{"style":114},[104,979,188],{"style":114},[104,981,169],{"style":110},[104,983,588],{"style":114},[104,985,591],{"style":110},[104,987,163],{"style":114},[104,989,250],{"style":114},[104,991,169],{"style":110},[104,993,255],{"style":114},[104,995,258],{"style":128},[104,997,998],{"style":114},"] }) })",[104,1000,264],{"style":110},[104,1002,1003],{"class":106,"style":107},[104,1004,330],{"style":114},[10,1006,1007,1009,1010,28,1013,497,1015,1018],{},[13,1008,884],{}," takes dot notation or an array of keys. Change it to match your API's response. Without ",[13,1011,1012],{},"getNextPageParam",[13,1014,884],{},[13,1016,1017],{},"cursorParam",", the generated options increment the page number until a page returns an empty array.",[82,1020,1022],{"id":1021},"refetch-when-parameters-change","Refetch when parameters change",[10,1024,1025,1026,1028,1029,1032],{},"Enable ",[13,1027,75],{},", then pass a ref or getter to a generated composable. Parameters accept ",[13,1030,1031],{},"MaybeRefOrGetter",". A getter tracks its reactive dependencies.",[94,1034,1036],{"language":96,"filename":97,"code":1035,"class":99},"import { ref } from 'vue'\nimport { useFindPetsByTags } from '.\u002Fgen\u002Fhooks\u002FuseFindPetsByTags'\n\nconst tags = ref(['dog'])\nconst { data, error, isLoading } = useFindPetsByTags({\n  query: () => ({ tags: tags.value }),\n})\n\ntags.value = ['cat']",[13,1037,1038,130,1054,130,1068,130,1070,130,1090,130,1114,130,1143,130,1147,130,1149],{"class":102},[104,1039,1040,1042,1044,1047,1049,1051],{"class":106,"style":107},[104,1041,111],{"style":110},[104,1043,115],{"style":114},[104,1045,1046],{"style":118},"ref ",[104,1048,122],{"style":114},[104,1050,125],{"style":110},[104,1052,1053],{"style":128},"'vue'",[104,1055,1056,1058,1060,1062,1064,1066],{"class":106,"style":107},[104,1057,111],{"style":110},[104,1059,115],{"style":114},[104,1061,219],{"style":118},[104,1063,122],{"style":114},[104,1065,125],{"style":110},[104,1067,226],{"style":128},[104,1069],{"class":106,"style":107},[104,1071,1072,1074,1077,1079,1082,1085,1087],{"class":106,"style":107},[104,1073,137],{"style":110},[104,1075,1076],{"style":118},"tags ",[104,1078,157],{"style":110},[104,1080,1081],{"style":160},"ref",[104,1083,1084],{"style":114},"([",[104,1086,258],{"style":128},[104,1088,1089],{"style":114},"])",[104,1091,1092,1094,1096,1098,1100,1102,1104,1106,1108,1110,1112],{"class":106,"style":107},[104,1093,137],{"style":110},[104,1095,115],{"style":114},[104,1097,142],{"style":118},[104,1099,28],{"style":110},[104,1101,147],{"style":118},[104,1103,28],{"style":110},[104,1105,152],{"style":118},[104,1107,122],{"style":114},[104,1109,157],{"style":110},[104,1111,233],{"style":160},[104,1113,569],{"style":114},[104,1115,1116,1118,1120,1122,1124,1126,1128,1130,1132,1134,1136,1139,1141],{"class":106,"style":107},[104,1117,269],{"style":114},[104,1119,188],{"style":114},[104,1121,169],{"style":110},[104,1123,588],{"style":114},[104,1125,591],{"style":110},[104,1127,163],{"style":114},[104,1129,250],{"style":114},[104,1131,169],{"style":110},[104,1133,250],{"style":118},[104,1135,53],{"style":110},[104,1137,1138],{"style":114},"value ",[104,1140,607],{"style":114},[104,1142,264],{"style":110},[104,1144,1145],{"class":106,"style":107},[104,1146,607],{"style":114},[104,1148],{"class":106,"style":107},[104,1150,1151,1153,1155,1157,1159,1161,1164],{"class":106,"style":107},[104,1152,250],{"style":118},[104,1154,53],{"style":110},[104,1156,1138],{"style":114},[104,1158,157],{"style":110},[104,1160,255],{"style":114},[104,1162,1163],{"style":128},"'cat'",[104,1165,1166],{"style":114},"]",[10,1168,1169,1170,1173],{},"Changing ",[13,1171,1172],{},"tags.value"," updates the query key and fetches the corresponding resource.",{"title":1175,"searchDepth":1176,"depth":1176,"links":1177},"",5,[1178,1180,1181,1182,1183,1184,1185],{"id":84,"depth":1179,"text":85},2,{"id":333,"depth":1179,"text":334},{"id":489,"depth":1179,"text":490},{"id":650,"depth":1179,"text":651},{"id":678,"depth":1179,"text":679},{"id":781,"depth":1179,"text":782},{"id":1021,"depth":1179,"text":1022},"md",{},{},true,null,"\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Fguides\u002Fcalling-operations",{"title":5},{"loc":1191},"extensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Fguides\u002Fcalling-operations","sNjswha1__WgAbTZSf9ARCnOhWtet7kkPjY0TlXvck8",1792890685864]