Skip to content

Support redis-py 4.0.2 Hash ops in django-redis #766

@2ykwang

Description

@2ykwang

Problem Statement

django-redis doesn’t implement all the hash commands available in redis-py (4.0.2).
I plan to work on implementing the missing commands,
I’d appreciate any feedback on this proposal, especially regarding potential edge cases or test strategies.

Additional context

Currently supported hash commands

Hash Command django-redis redis-py 4.0.2 redis-py 5.2.0
HDEL V V V
HEXISTS V V V
HGET V V
HGETALL V V
HINCRBY V V
HINCRBYFLOAT V V
HKEYS V V V
HLEN V V V
HSET V V V
HSETNX V V
HMSET V V
HMGET V V
HVALS V V
HSTRLEN V V
HEXPIRE V
HPEXPIRE V
HEXPIREAT V
HPEXPIREAT V
HPERSIST V
HEXPIRETIME V
HPEXPIRETIME V
HTTL V
HPTTL V

related issue:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions