Closed antstei closed 8 years ago
There's no difference. The result will be the same.
Ok thanks, I see :smile: On the other hand why should multiple predicates still be used when there is an equivalent logical operator which leads to the same result? :confused:
There might be more complicated cases which can be resolved only using multiple predicates, for instance:
.a{.b}[0]{.c}
Thanks I see :smile:
Consider the following example JSON:
I wonder now if there is a difference between the usage of multiple predicates,
or the logical AND operator (
&&
),to find all books whose price is between
5
and15
?