Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/asciidoc/reference/cypher/cypher-expressions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,8 @@ RETURN range(1, 5) // Returns [1, 2, 3, 4, 5]
RETURN range(0, 10, 2) // Returns [0, 2, 4, 6, 8, 10]
----

NOTE: _(Since v26.12.1)_ The arguments must be whole numbers. A whole float that arrives at run time, such as a parameter (`range(1, $n)` with `n = 3.0`, as sent by a JavaScript driver), is read as the integer it is and returns `[1, 2, 3]`. A float written in the query (`range(1, 3.0)`) is refused before the query runs, and so is a fraction passed as a parameter (`n = 3.5`), which is not truncated (issue #13830).

[[cypher-reverse]]
====== reverse() (list)

Expand Down
Loading