SCRIPT EXISTS

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

SCRIPT EXISTS

Checks whether a script exists by SHA. Returns 1 if it exists.

Example

Command>SCRIPT EXISTS c686f316aaf1eb01d5a4de1b0b63cd233010e63d
Result>1) (integer) 1

Syntax

SCRIPT EXISTS sha1 [sha1 ...]

  • Available since version 2.6.0.
  • Time complexity is O(N). N is the number of SHAs.







<< SCRIPT GET SCRIPT EXISTS SCRIPT FLUSH >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.