Add
Copied!
Add( value_1, value_2, ... )
Description
The Add
function returns the sum of its numeric arguments. It can take
a single value or a list of values. Providing a single number returns
the number.
Examples
The query below returns the sum of 100 and 10.
Copied!
client.query(q.Add(100, 10))
.then((ret) => console.log(ret))
110
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!