python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Error while using Redis Expire command options
I am trying to set expiry on a key if expiry is not already set by using NX option of Expire command.
But I keep getting error from redis-cli, and when I try from code NX option gets ignored.
When I t...
sachin p
Votes: 0
Answers: 1
Reusing Redis Connection: Socket Closed Unexpectedly - node-redis
First, let me tell you how I'm using Redis connection in my NodeJS application:
I'm re-using one connection throughout the app using a singleton class.
class RDB {
static async getClient() {
...
Yash Dixit
Votes: 0
Answers: 3
Typescript type error while using Redis type
Hi i am trying to use redis on typescript but this code always give me this error. I installed "redis": "^4.0.4", "@types/redis": "^4.0.11". How can i solve thi...
enesbugrac
Votes: 0
Answers: 1
How to use node-redis client in node typescript
I have a node typescript project where I have created a TS file for the Redis connection which is below.
import { createClient } from 'redis';
import { promisify } from 'util';
import Logger from 'uti...
Uday Mishra
Votes: 0
Answers: 1