First of all, thanks for an awesome lib!
One small feature request that I would love to have would be to support the $size operator.
Some examples:
Empty array
{ where: { fruits: { $size: 0 } } }
coalesce(array_length(fruits, 1), 0) = 0
Non-empty array
{ where: { fruits: { $size: { $gt: 0 } } } }
coalesce(array_length(fruits, 1), 0) > 0
Exactly 8 entries
{ where: { fruits: { $size: 8 } } }
coalesce(array_length(fruits, 1), 0) = 8
First of all, thanks for an awesome lib!
One small feature request that I would love to have would be to support the
$sizeoperator.Some examples:
Empty array
Non-empty array
Exactly 8 entries