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

Add support for SCRIPT EXISTS and SCRIPT FLUSH subcommands #281

Merged

Commits on Oct 4, 2020

  1. Add support for SCRIPT EXISTS subcommand

    I've added support for the SCRIPT EXISTS subcommand in the SCRIPTS
    command handler. The subcommand takes in a sequence of sha1 hash values
    of Lua scripts and checks if scripts with those sha1 hash values are
    currently registered with Redis.
    
    The command will return a redis List with the integers 1 and 0 to
    indicate which sha1 hash is known to Redis. In accordance with Redis,
    this subcommand returns an empty List if no hash values were passed as
    arguments to the subcommand.
    SebastiaanZ committed Oct 4, 2020
    Copy the full SHA
    091f15d View commit details
    Browse the repository at this point in the history
  2. Add support for SCRIPT FLUSH subcommand

    This commit adds support for the SCRIPT FLUSH subcommand which flushes
    all the loaded scripts from Redis. The subcommand takes no arguments and
    returns OK after completing its work.
    SebastiaanZ committed Oct 4, 2020
    Copy the full SHA
    6ca031c View commit details
    Browse the repository at this point in the history