Enterprise Gate Server Multi Key Commands


Multi Key Commands

사용가능한 멀티키 명령입니다.

Common 공통

  • RENAME: rename key new_key  -> return OK
  • RENAMENX: renamenx key new_key  -> return 1
  • EXISTS: exists key1 key2 key3  -> return 3
  • DEL: exists key1 key2 key3  -> return 3
  • UNLINK: exists key1 key2 key3  -> return 3

String

  • MGET: mget key1 key2
  • MSET: mset key1 value1 key2 value2
  • MSETNX: msetnx key1 value1 key2 value2
  • BITOP: bitop and/or/xor/not dest_key key1 key2

List

  • RPOPLPUSH: rpoplpush src_key dest_key

Set

  • SMOVE: smove src_key dest_key
  • SUNION: sunion key1 key2
  • SINTER: sinter key1 key2
  • SDIFF: sdiff key1 key2
  • SUNIONSTORE: sunionstore dest_key src_key1 src_key2
  • SINTERSTORE: sinterstore dest_key src_key1 src_key2
  • SDIFFSTORE: sdiffstore dest_key src_key1 src_key2

ZSet

  • ZUNIONSTORE: zunionstore dest_key 2 src_key1 src_key2
  • ZINTERSTORE: zinterstore dest_key 2 src_key1 src_key2

Hyper Log Log

  • PFCOUNT: pfcount key1 key2
  • PFMERGE: pfmerge dest_key src_key1 src_key2

조회수 :

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