Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Computation JSON doc
redis.cloud:6379> FT.AGGREGATE myIdx '*' LOAD 6 $.user.hp AS hp $.user.dmg AS dmg APPLY '@hp - @dmg' AS points
1) (integer) 1
2) 1) "point"
2) "850"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment