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?
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?