All
All( values )
Description
The All
function tests the provided values
and returns true
if
all of the items in values
are true
, otherwise it returns false
.
The run time of To work around this, you may specify a larger query timeout via the driver that you are using. |
Examples
The following query uses All
multiple times to demonstrate how
the function evaluates several groups of values:
client.query([
q.All([true, true, true]),
q.All([false, true, true]),
q.All([]),
]).then((ret) => console.log(ret))
[ true, false, true ]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!