redis.hset("myhash", values={ "field1": "Hello", "field2": "World" }) assert redis.hkeys("myhash") == ["field1", "field2"]
Return all field names in the hash stored at key.
Was this page helpful?