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
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ Returns a new list with a value inserted at the given index.

*APOC Compatible:* `apoc.coll.insert`

An index below 0 or above the size of the list raises an error. `apoc.coll.insert` answers the list unchanged for such an index, as APOC does.

[source,cypher]
----
RETURN coll.insert([1, 2, 3], 1, 99) AS result
Expand Down Expand Up @@ -279,6 +281,8 @@ Returns a new list with element(s) removed starting at the given index.

*APOC Compatible:* `apoc.coll.remove`

An index below 0 or at or above the size of the list raises an error. `apoc.coll.remove` answers the list unchanged for such an index, as APOC does.

[source,cypher]
----
RETURN coll.remove([1, 2, 3, 4, 5], 1) AS result
Expand Down
Loading