Skip to content

Instantly share code, notes, and snippets.

@bennadel
Created December 1, 2015 12:33
Redis Doesn't Store Empty Sets Or Hashes (And Will Delete Empty Sets And Hashes)
127.0.0.1:6379> scard my-non-existent-set
(integer) 0
127.0.0.1:6379> hlen my-non-existent-hash
(integer) 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment