Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

HDEL in redis

const redis = require('redis');

const client = redis.createClient();

client.on('error', (err) => console.log('Redis Client Error', err));
client.on('connect', () => console.log('Redis Client Connected'));

client.connect();

client.HDEL('id', 'key1').then((res) => {
  console.log('Deleted key1 : ', res);
});
Source by itsvinayak.hashnode.dev #
 
PREVIOUS NEXT
Tagged: #HDEL #redis
ADD COMMENT
Topic
Name
3+2 =