DB
[Error] ERR wrong number of arguments for 'zrangebyscore' command
잔망루피
2022. 7. 23. 20:00
키의 값을 조회할 때 데이터 타입에 따라서 명령어가 다르다.
get은 키의 값이 string일 때 쓴다.
zrangebyscore는 키의 값이 sorted set일 때 쓴다.
키의 값 타입을 조회한다.
type 키이름
참고 👇
WRONGTYPE Operation against a key holding the wrong kind of value php
Hi I am using Laravel with Redis .When I am trying to access a key by get method then get following error "WRONGTYPE Operation against a key holding the wrong kind of value" I am using following c...
stackoverflow.com
반응형