Any
Any( values )
Any( values )
Any( values )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Examples
The following query uses Any
multiple times to demonstrate how
the function evaluates several groups of values:
System.out.println(
client.query(
Arr(
Any(Arr(Value(true), Value(true), Value(true))),
Any(Arr(Value(false), Value(true), Value(true))),
Any(Arr(Value(false), Value(false), Value(false))),
Any(Arr())
)
).get());
client.query([
q.Any([true, true, true]),
q.Any([false, true, true]),
q.Any([false, false, false]),
q.Any([]),
]).then((ret) => console.log(ret))
println(Await.result(
client.query(
Arr(
Any(Arr(true, true, true)),
Any(Arr(false, true, true)),
Any(Arr(false, false, false)),
Any(Arr())
)
),
5.seconds
))
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
[true, true, false, false]
[ true, true, false, false ]
[true, true, false, false]
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!