How do i find out type of internal encoding of a strings on redis?
-
Using the redis object command.
127.0.0.1:6379> object encoding song2 "embstr" 127.0.0.1:6379> set mynumber 6577 OK 127.0.0.1:6379> object encoding mynumber "int" 127.0.0.1:6379> set myfavlyric "Everybody all around the world, Gotta tell you what I just heard" OK 127.0.0.1:6379> object encoding myfavlyric "raw"
© Lightnetics 2024