ETYPE

레디스 개발자 교육 신청 레디스 정기점검/기술지원
Redis Technical Support
레디스 엔터프라이즈 서버
Redis Enterprise Server

key의 data type을 조회

사용법은 etype key 이다.
data type : string, list, set, zset, hash, stream

Example

명령>etype key1
결과>string
명령>etype user01
결과>string,list ℹ️ user01이 string, list에 저장되어 있을 경우 2개 data type이 조회된다.


명령문

ETYPE key

  • 이 명령은 Ent 8.1.0 부터 사용할 수 있다.
  • 논리적 처리 소요시간은 O(1)이다.

<< DBALL ETYPE EKEYS >>

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