Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple keys deletion at once with predefined query {:in, keys} #159

Closed
cabol opened this issue Jun 5, 2022 · 0 comments
Closed

Multiple keys deletion at once with predefined query {:in, keys} #159

cabol opened this issue Jun 5, 2022 · 0 comments
Labels

Comments

@cabol
Copy link
Owner

cabol commented Jun 5, 2022

Implement support for multiple keys deletion at once by means of c:delete_all/2 and predefined query {:in, [_ | _] = keys}. For example:

MyApp.Cache.delete_all({:in, ["foo", "bar"]})

The call above should delete the keys "foo"and"bar"` from the cache at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant