You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit beb98a0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/commands/graph.query.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1173,7 +1173,7 @@ This section contains information on all supported functions from the Cypher que
1173
1173
| toInteger(_expr_) *| Returns an integer when _expr_ evaluates to an integer <br> Converts a floating point to integer <br> Converts a string to an integer or null <br> Converts a Boolean to an integer (false to 0, true to 1) (Since RedisGraph v2.10.8) <br> Returns null when _expr_ evaluates to null <br> Emit an error on other types |
1174
1174
| toIntegerList(_exprList_) *| Converts a list to a list of integer values. Each element in the list is converted using toIntegerOrNull() |
1175
1175
| toIntegerOrNull(_expr_) *| Returns an integer when _expr_ evaluates to an integer <br> Converts a floating point to integer <br> Converts a string to an integer or null <br> Converts a Boolean to an integer (false to 0, true to 1) (Since RedisGraph v2.10.8) <br> Returns null when _expr_ evaluates to null <br> Returns null for other types |
1176
-
| toString(_expr_) | Returns a string when _expr_ evaluates to a string <br> Converts an integer, float, Boolean, string, or point to a string representation <br> Returns null when _expr_ evaluates to null <br> Emit an error on other types |
1176
+
| toString(_expr_) | Returns a string when _expr_ evaluates to a string <br> Converts an integer, float, Boolean, string, list, map, or point to a string representation <br> Returns null when _expr_ evaluates to null <br> Emit an error on other types |
1177
1177
| toStringList(_exprList_) | Converts a list to a list of strings. Each element in the list is converted using toStringOrNull() |
1178
1178
| toStringOrNull(_expr_) | Returns a string when _expr_ evaluates to a string <br> Converts an integer, float, Boolean, string, or point to a string representation <br> Returns null when _expr_ evaluates to null <br> Returns null for other types |
"CREATE ()-[r:R]->() RETURN hasLabels(r, ['abc', 'def'])": "Type mismatch: expected Node or Null but was Edge",
2219
2223
"RETURN toBoolean(1.2)": "Type mismatch: expected String, Boolean, Integer, or Null but was Float",
2220
2224
"RETURN isEmpty(1)": "Type mismatch: expected Map, List, String, or Null but was Integer",
2221
-
"CREATE ()-[r:R]->() RETURN toString(r)": "Type mismatch: expected Datetime, Duration, String, Boolean, Integer, Float, Null, or Point but was Edge",
2225
+
"CREATE ()-[r:R]->() RETURN toString(r)": "Type mismatch: expected List, Datetime, Duration, String, Boolean, Integer, Float, Null, or Point but was Edge",
0 commit comments