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

Ability to delete all FUNCTIONs (FUNCTION FLUSHALL?) #1012

Open
chayim opened this issue Aug 1, 2023 · 1 comment
Open

Ability to delete all FUNCTIONs (FUNCTION FLUSHALL?) #1012

chayim opened this issue Aug 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@chayim
Copy link
Contributor

chayim commented Aug 1, 2023

Currently users can list functions and delete them individually. However, a FLUSHALL doesn't remove all functions from the database. Either we should flush all functions during a FLUSHALL/FLUSHDB, or we should provide another comment such as FUNCTION FLUSHALL or similar, to enable users removing all functions from their database.

@thomascaudron
Copy link
Contributor

Redis OSS uses FUNCTION FLUSH [ASYNC | SYNC] to remove all libraries. For Triggers and Functions this would be TFUNCTION FLUSH.

@thomascaudron thomascaudron added the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants