flowquery 1.0.73 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/flowquery.min.js +1 -1
- package/dist/parsing/functions/function_factory.d.ts +3 -0
- package/dist/parsing/functions/function_factory.d.ts.map +1 -1
- package/dist/parsing/functions/function_factory.js +3 -0
- package/dist/parsing/functions/function_factory.js.map +1 -1
- package/dist/parsing/functions/log.d.ts +7 -0
- package/dist/parsing/functions/log.d.ts.map +1 -0
- package/dist/parsing/functions/log.js +46 -0
- package/dist/parsing/functions/log.js.map +1 -0
- package/dist/parsing/functions/log10.d.ts +7 -0
- package/dist/parsing/functions/log10.d.ts.map +1 -0
- package/dist/parsing/functions/log10.js +42 -0
- package/dist/parsing/functions/log10.js.map +1 -0
- package/dist/parsing/functions/pow.d.ts +7 -0
- package/dist/parsing/functions/pow.d.ts.map +1 -0
- package/dist/parsing/functions/pow.js +44 -0
- package/dist/parsing/functions/pow.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -671,6 +671,9 @@ UNWIND ["a", "b", "a", "c"] AS s RETURN count(DISTINCT s) AS cnt // 3
|
|
|
671
671
|
| `range(start, end)` | Inclusive integer range | `range(1,3)` → `[1,2,3]` |
|
|
672
672
|
| `round(n)` | Round to nearest integer | `round(3.7)` → `4` |
|
|
673
673
|
| `rand()` | Random float 0–1 | `round(rand()*10)` |
|
|
674
|
+
| `log(n)` | Natural logarithm (base e) | `log(10)` → `2.302...` |
|
|
675
|
+
| `log10(n)` | Base-10 logarithm | `log10(1000)` → `3` |
|
|
676
|
+
| `pow(base, exp)` | Base raised to the power of exponent | `pow(2, 3)` → `8` |
|
|
674
677
|
| `split(str, delim)` | Split string into list | `split("a,b",",")` → `["a","b"]` |
|
|
675
678
|
| `join(list, delim)` | Join list into string | `join(["a","b"],",")` → `"a,b"` |
|
|
676
679
|
| `replace(str, from, to)` | Replace all occurrences | `replace("hello","l","x")` → `"hexxo"` |
|
|
@@ -1021,6 +1024,7 @@ RETURN f.name, f.description, f.category
|
|
|
1021
1024
|
│ SCALAR FUNCTIONS │
|
|
1022
1025
|
├─────────────────────────────────────────────────────────────┤
|
|
1023
1026
|
│ size range round rand split join replace │
|
|
1027
|
+
│ log log10 pow │
|
|
1024
1028
|
│ toLower trim substring toString toInteger toFloat │
|
|
1025
1029
|
│ tojson stringify string_distance keys properties │
|
|
1026
1030
|
│ type coalesce head tail last id elementId labels │
|