'hmset operation for ioredis in typescript
I tried to insert one simple object in typescript to ioredis hashmap. I define object like this
interface User {
name : string,
age :string
}
let newUser : User = {
name : "suman",
age :"34"
}
How do I write hmset command in node.js typescript ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
