Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSET doesn't work #66

Open
mathieuz opened this issue Dec 14, 2023 · 1 comment
Open

HSET doesn't work #66

mathieuz opened this issue Dec 14, 2023 · 1 comment

Comments

@mathieuz
Copy link

mathieuz commented Dec 14, 2023

according to the official docs, HMSET is gonna be replaced by HSET because it is a deprecated feature...
i just tried to use HSET as the same way you can use HMSET but doesn't work, even this was supposed to work the same as HMSET command...

or there's something i've missed?

@noudAndi
Copy link

Hi,

there is something broken with this plugin.

The only way for me to get it back to work was to change the option values in the redis.html to lowerCase like this:

There might be better options, but I'm not nodejs developer.

       <select id="node-input-command">
            <optgroup label="Core">
....
                <option value="hkeys">HKEYS</option>
                <option value="hlen">HLEN</option>
                <option value="hmget">HMGET</option>
                <option value="hmset">HMSET</option>
...

Because, if you select the HSET, it will be put in UpperCase into the code and this broke my nodes.

Also HGETALL behaves differently: If the command is put in Uppercase, you get back an array, if you put it in lowerCase you get a dictornary. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants