arangodb - AQL aggregation functions syntax -
What is the syntax for parallel functions such as (sentence)?
For example, do the following:
let's go to json = {"age": {"age": ["20", "30", "40" ]}} and json.ages.age return age returns
["20 "In all these snippets the return on" [1542] invalid logic type was used for "In Age " 30 "," 40 "] Which has been used to call for 'SIM (")" Ango 2.0.4:
// age of LR age = (json.ages.age Return age at age For) Amount Refund (age) / LR age R = (json.ages.age return age for age) return amount (for ages at the age of json.ages.age return)) //R return amount ((json.ages.age return age at age) For)) What is correct syntax?
No related examples appear in the syntax page ().
Most of the thing is that I can get a syntax for example:
controller.get ("/ revenue /: year", function (rick, Ridge) {var query = "return Sam (bill collection fitter bill for bill. Yure == @ year return bill.mount))"; var stmt = db._createStatement ({"query": query}); stmt.bind ("year", parseInt (req.params ("year"), 10)); Var c = stmt.execute (); Res.json (c); }); But it seems that the syntax above has failed for me.
Is there any more detailed syntax references anywhere?
Mochas Graceus
Your approach is correct, though you have a small Miss the place. ;)
In the document for SOM it says:
SUM (list): returns the sum of the values in the list to be the number of elements in this list Required
(Docs Reference :)
Note "Elements in this list need to be number" Therefore, instead of the stars in your JSON-example, there should be a number in the list.
let's json = {"ages": {"age": [20, 30, 40]}} age = (json.ages.age return age at age) return amount ( Age) The snippet above should be copied and run in your AUKD editor: [9 0] < p> You can also leave your JSN intact and change the number of stars by changing the AULL query to:
Comments
Post a Comment