{{ message }}
/ age-website Public
Remove () from function names in TOC
JoshInnis committed Oct 22, 2021
1 parent 93c2d55 commit af44b636fab3ebe43bdcc516a0d5c3fdc5a3cfaf
Showing 6 changed files with 56 additions and 59 deletions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 @@ -23,7 +23,7 @@ SELECT * FROM cypher('graph_name', \$\$ \$\$) as (a agtype); ``` ## min() ## min min() returns the minimum value in a set of values. @@ -154,7 +154,7 @@ Result: ## max() ## max max() returns the maximum value in a set of values. @@ -230,7 +230,7 @@ Result: ## stDev() ## stDev stDev() returns the standard deviation for the given value over a group. It uses a standard two-pass method, with N - 1 as the denominator, and should be used when taking a sample of the population for an unbiased estimate. When the standard variation of the entire population is being calculated, stdDevP should be used. @@ -304,7 +304,7 @@ Result: ## stDevP() ## stDevP stDevP() returns the standard deviation for the given value over a group. It uses a standard two-pass method, with N as the denominator, and should be used when calculating the standard deviation for an entire population. When the standard variation of only a sample of the population is being calculated, stDev should be used. @@ -378,7 +378,7 @@ Result: ## percentileCont() ## percentileCont percentileCont() returns the percentile of the given value over a group, with a percentile from 0.0 to 1.0. It uses a linear interpolation method, calculating a weighted average between two values if the desired percentile lies between them. For nearest values using a rounding method, see percentileDisc. @@ -458,7 +458,7 @@ Result: ## percentileDisc() ## percentileDisc percentileDisc() returns the percentile of the given value over a group, with a percentile from 0.0to 1.0. It uses a rounding method and calculates the nearest value to the percentile. For interpolated values, see percentileCont. @@ -538,7 +538,7 @@ Result: ## count() ## count count() returns the number of values or records, and appears in two variants: @@ -768,7 +768,7 @@ Result: ## avg() ## avg avg() returns the average of a set of numeric values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 @@ -1,7 +1,7 @@ # Logarithmic Functions ## e() ## e e() returns the base of the natural logarithm, e. @@ -46,7 +46,7 @@ Results ## sqrt() ## sqrt sqrt() returns the square root of a number. @@ -91,7 +91,7 @@ Results ## exp() ## exp exp() returns e^n, where e is the base of the natural logarithm, and n is the value of the argument expression. @@ -163,7 +163,7 @@ Result: ## log() ## log log() returns the natural logarithm of a number. @@ -236,7 +236,7 @@ Result: ## log10() ## log10 log10() returns the common logarithm (base 10) of a number.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 @@ -1,7 +1,7 @@ # Numeric Functions ## rand() ## rand rand() returns a random floating point number in the range from 0 (inclusive) to 1 (exclusive); i.e.[0,1). The numbers returned follow an approximate uniform distribution. @@ -48,7 +48,7 @@ Result: ## abs() ## abs abs() returns the absolute value of the given number. @@ -130,7 +130,7 @@ Result: ## ceil() ## ceil ceil() returns the smallest floating point number that is greater than or equal to the given number and equal to a mathematical integer. @@ -202,7 +202,7 @@ Result: ## floor() ## floor floor() returns the greatest floating point number that is less than or equal to the given number and equal to a mathematical integer. @@ -276,7 +276,7 @@ Result: ## round() ## round round() returns the value of the given number rounded to the nearest integer. @@ -350,7 +350,7 @@ Result: ## sign() ## sign sign() returns the signum of the given number: 0 if the number is 0, -1 for any negative number, and 1 for any positive number
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 @@ -1,7 +1,7 @@ # Scalar Functions ## id() ## id id() returns the id of a vertex or edge. @@ -80,7 +80,7 @@ Results ## start_id() ## start_id start_id() returns the id of the vertex that is the starting vertex for the edge. @@ -159,7 +159,7 @@ Results ## end_id() ## end_id end_id() returns the id of the vertex that is the ending vertex for the edge. @@ -236,7 +236,7 @@ Results ## type() ## type type() returns the string representation of the edge type @@ -307,7 +307,7 @@ Results ## properties() ## properties Returns an agtype map containing all the properties of a vertex or edge. If the argument is already a map, it is returned unchanged. @@ -374,7 +374,7 @@ Results: ## head() ## head returns the first element in an agtype list. @@ -453,7 +453,7 @@ Result: ## last() ## last returns the last element in an agtype list. @@ -532,7 +532,7 @@ Result: ## length() ## length length() returns the length of a path. @@ -610,7 +610,7 @@ Results: ## size() ## size size() returns the length of a list. @@ -682,7 +682,7 @@ Results: ## startNode() ## startNode startNode() returns the start node of an edge. @@ -757,7 +757,7 @@ Result ## endNode() ## endNode endNode() returns the start node of an edge. @@ -832,7 +832,7 @@ Result ## timestamp() ## timestamp timestamp() returns the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. @@ -885,7 +885,7 @@ Results: ## toBoolean() ## toBoolean toBoolean() converts a string value to a boolean value. @@ -961,7 +961,7 @@ Result: ## toFloat() ## toFloat toFloat() converts an integer or string value to a floating point number. @@ -1029,7 +1029,7 @@ Result: ## toInteger() ## toInteger toInteger() converts a floating point or string value to an integer value. @@ -1105,7 +1105,7 @@ Result: ## coalesce() ## coalesce coalesce() returns the first non-null value in the given list of expressions. @@ -1156,9 +1156,6 @@ RETURN coalesce(a.hairColor, a.eyes), a.hair_color, a.eyes \$\$) as (color agtype, hair_color agtype, eyes agtype); ``` Table 105. Result