From c2d715886455aed97d7c9b8a01a79b5a65ddc4ae Mon Sep 17 00:00:00 2001 From: Clint Wylie Date: Fri, 5 Apr 2019 16:10:38 -0700 Subject: [PATCH 1/2] fix expressions docs operator table --- docs/content/misc/math-expr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/misc/math-expr.md b/docs/content/misc/math-expr.md index 8fa706b8a0c9..bfd988984bd0 100644 --- a/docs/content/misc/math-expr.md +++ b/docs/content/misc/math-expr.md @@ -37,7 +37,7 @@ This expression language supports the following operators (listed in decreasing |*, /, %|Binary multiplicative| |+, -|Binary additive| |<, <=, >, >=, ==, !=|Binary Comparison| -|&&,\|\||Binary Logical AND, OR| +|&&, ||Binary Logical AND, OR| Long, double, and string data types are supported. If a number contains a dot, it is interpreted as a double, otherwise it is interpreted as a long. That means, always add a '.' to your number if you want it interpreted as a double value. String literals should be quoted by single quotation marks. From d0833b11e26a3051a1398a984603caaa30e8d852 Mon Sep 17 00:00:00 2001 From: Clint Wylie Date: Fri, 5 Apr 2019 16:42:59 -0700 Subject: [PATCH 2/2] Update math-expr.md --- docs/content/misc/math-expr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/misc/math-expr.md b/docs/content/misc/math-expr.md index bfd988984bd0..53d5a4331842 100644 --- a/docs/content/misc/math-expr.md +++ b/docs/content/misc/math-expr.md @@ -66,7 +66,7 @@ The following built-in functions are available. |name|description| |----|-----------| -|concat|concatenate a list of strings| +|concat|concat(expr, expr...) concatenate a list of strings| |format|format(pattern[, args...]) returns a string formatted in the manner of Java's [String.format](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#format-java.lang.String-java.lang.Object...-).| |like|like(expr, pattern[, escape]) is equivalent to SQL `expr LIKE pattern`| |lookup|lookup(expr, lookup-name) looks up expr in a registered [query-time lookup](../querying/lookups.html)|