You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if incr is invoked and the key does not exist, by default 0 is inserted before to perform the increment behind scenes. So the idea is to add :default option to the incr/3 callback so that the default value is set in case the key does not and exist and before it is incremented.
The text was updated successfully, but these errors were encountered:
Currently, if
incr
is invoked and the key does not exist, by default0
is inserted before to perform the increment behind scenes. So the idea is to add:default
option to theincr/3
callback so that the default value is set in case the key does not and exist and before it is incremented.The text was updated successfully, but these errors were encountered: