If I have multiple keys of JSON type in Redis DB that have the following form (Each key have different amount of users)
{
"users": [
{
"name": "Alice",
"age": 15
},
{
"name": "Bob",
"age": 20
}
]
}
By using RedisJson and RedisSearch, How can I filter all the objects that their users.length
>
or <
or =
to X ? (for example, get all the objects with users.length > 10
)