If I call the Unwatch
function without passing in any keys, does this flush all watched keys?
#3046
Unanswered
slowcooked99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking at the implementation of Unwatch() in tx.go. If I were to call
Unwatch(...)
without passing in any keys, will this still flush all the watched keys?The Redis documentation here mentions
It is also possible to use the UNWATCH command (without arguments) in order to flush all the watched keys
which is why I'm wondering.Beta Was this translation helpful? Give feedback.
All reactions