Skip to content

[BUG] HGETF command is not replying with string #13262

@sazzad16

Description

@sazzad16

Describe the bug

If the value of the field is an integer, HGETF replies it as integer. But should always be string

To reproduce

127.0.0.1:6379> hset hash one 1
(integer) 1
127.0.0.1:6379> hget hash one
"1"
127.0.0.1:6379> hgetf hash fields 1 one
1) (integer) 1

Expected behavior

127.0.0.1:6379> hgetf hash fields 1 one
1) "1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions