Before that, I use ternary operator on Redis and it worked.
After that, logics rise, and I prefer wrap it into a function like this one. I use this wrap in many places like mongodb, component logics,... only in Redis query it doesn't work.
Copy the raw result of wrap function to use it as a command => it works, as I shown above.
That quotation is Javascript string, and it's not part of the result.
This should be consider as a bug, can you tag one of your tech guy to check it out?
This bug is still not fixed!
Although Retool supports Redis, but without the ability to write function, all I can do is write a very simple Redis command.