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

Return empty array for SRANDMEMBER on nonexistent key #376

Merged
merged 2 commits into from
May 27, 2024
Merged

Return empty array for SRANDMEMBER on nonexistent key #376

merged 2 commits into from
May 27, 2024

Commits on May 27, 2024

  1. Return empty array for SRANDMEMBER on nonexistent key

    If the count argument is given, Redis returns an empty array if the key
    does not exist, unlike single call which returns nil. Mimic this
    behavior more precisely.
    WKBae committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1a30325 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c007f55 View commit details
    Browse the repository at this point in the history