Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
redis.cloud:6379> JSON.SET myDoc $ '{"books": [{"title": "Peter Pan", "price": 8.95}, {"title": "Moby Dick", "price": 12.99}]}'
redis.cloud:6379> JSON.GET myDoc '$.books[?(@.price < 10)]'
"[{\"title\":\"Peter Pan\",\"price\":8.95}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment