Skip to content

Commands

roseduan edited this page Jun 13, 2022 · 2 revisions

Supported Commands in Redis

String

  • Set
  • Get
  • MGet
  • GetDel
  • Delete
  • SetEX
  • SetNX
  • MSet
  • MSetNX
  • Append
  • Decr
  • DecrBy
  • Incr
  • IncrBy
  • StrLen

List

  • LPush
  • LPushX
  • RPush
  • RPushX
  • LPop
  • RPop
  • LMove
  • LLen
  • LIndex
  • LSet
  • LRange

Hash

  • HSet
  • HSetNX
  • HGet
  • HMGet
  • HDel
  • HExists
  • HLen
  • HKeys
  • HVals
  • HGetAll
  • HStrLen
  • HScan
  • HIncrBy

Set

  • SAdd
  • SPop
  • SRem
  • SIsMember
  • SMembers
  • SCard
  • SDiff
  • SUnion

Sorted Set

  • ZAdd
  • ZScore
  • ZRem
  • ZCard
  • ZRange
Clone this wiki locally