Skip to content

add removeAll or clean to queryCache #140

Closed Answered by posva
sabasayer asked this question in Questions
Discussion options

You must be logged in to vote

You can do this with:

const queryCache = useQueryCache()
queryCache.getEntries(filters).map(entry => queryCache.remove(entry))

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sabasayer
Comment options

@posva
Comment options

Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #139 on December 19, 2024 13:06.