redis json obtient plusieurs chemins

/* Warning, this won't return the property name
   Ex: key: { foo: 'bar' }
   
  const result = await redisClient.json.get('somekey', {
    path: '$["foo"]'
  })
  
  // result is equal to ['bar']
  
*/
const result = await redisClient.json.get('somekey', {
  path: '$["foo","bar"]'
})

// returns [<fooPropValue>, <barPropValue>]
florinrelea