node-redis is a complete Redis client for node.js. It supports all Redis commands, including many recently added commands like EVAL from experimental Redis server branches.
Questions tagged [node-redis]
756 questions
-2
votes
1 answer
Node-Red "TypeError: Cannot read property 'payload' of undefined"
Im trying to create a Dashboard connected to my Database.
Everything works fine, but when i try to filter the result with a SQL Query im getting the Error :
"TypeError: Cannot read property 'payload' of undefined"
If i cut the Date-part out the…

Oliwer Krzyszczyk
- 1
- 1
- 2
-2
votes
1 answer
Accessing session variables between different node.js files
I have a scenario where I am trying to setup a session variable in one node.js file and then access that same session variable in another node.js.
I'm not sure if I have to require express twice, once in each node.js file.
Does anyone know how to…

Ethan Richardson
- 461
- 2
- 10
- 28
-3
votes
1 answer
how to connect to redislab using nodejs(ioredis) and why this error occuring
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {
errno: -3004,
code: 'EAI_FAIL',
syscall: 'getaddrinfo',
hostname: 'redis:123.redislabs.com:18094'
}
how to connect with redis lab in nodejs using ioredis

Abdul Haseeb TK
- 3
- 1
-3
votes
1 answer
Ignore Redis Cache key
I am using redis in node.js application.
On first request i get data from database and save content in Redis cache.
Sample keys list
I want to ignore cache against key 2000 and get content form database against each request.
I do not want to change…

Muhammad Usman
- 345
- 1
- 11
-7
votes
1 answer
I want to store this in redis
I want to store an array of objects in redis
const items = [
{
'122': {
name: 'abc',
price: '12',
},
},
{
'1225656': {
name: 'bc',
price: '35',
},
},
];

Basir Baig
- 111
- 1
- 8