How to store an array of objects in redis with node redis

Viewed 293

I want to store an array of objects as shown in redis:

const obj_arr = [
{
id: 20,
name: 'bob'
},
{
id: 31,
name: 'greg'
}
]

How would I store this array in node redis and push and pop from it?

0 Answers
Related