-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(redis): enhance key deletion and add prefix retrieval
- Modified the `DeleteAllWithPatternBatchedScript` to use `KEYS[1]` instead of `ARGV[1]`. - Changed the batch size parameter type from uint to int in `KeysDelete` and `KeysDeleteAsync`. - Added a new script, `DeterminePrefixScript`, to determine the key prefix. - Implemented two new methods, `GetKeyPrefix` and `GetKeyPrefixAsync`, for retrieving the key prefix. - Introduced two additional methods, `KeysDeleteAll` and `KeysDeleteAllAsync`, for deleting all keys. - Updated unit tests in DatabaseExtensionTests.cs to reflect these changes.
- Loading branch information
1 parent
2de38b4
commit 5e8b62a
Showing
3 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters