Skip to content

Commit 639c246

Browse files
Remove instances of deprecated id function from operators page (#592)
1 parent b760a28 commit 639c246

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

modules/ROOT/pages/execution-plans/operators.adoc

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ The `DirectedRelationshipByIdSeek` operator reads one or more relationships by i
329329
----
330330
PROFILE
331331
MATCH (n1)-[r]->()
332-
WHERE id(r) = 0
332+
WHERE elementId(r) = 0
333333
RETURN r, n1
334334
----
335335
@@ -344,13 +344,15 @@ Runtime version {neo4j-version-minor}
344344
345345
Batch size 128
346346
347-
+-------------------------------+---------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
348-
| Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
349-
+-------------------------------+---------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
350-
| +ProduceResults | r, n1 | 1 | 1 | 0 | | | | |
351-
| | +---------------------------------------------+----------------+------+---------+----------------+ | | |
352-
| +DirectedRelationshipByIdSeek | (n1)-[r]->(anon_0) WHERE id(r) = $autoint_0 | 1 | 1 | 1 | 120 | 4/0 | 0.459 | Fused in Pipeline 0 |
353-
+-------------------------------+---------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
347+
+-------------------------------+----+---------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
348+
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
349+
+-------------------------------+----+---------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
350+
| +ProduceResults | 0 | r, n1 | 1 | 0 | 0 | | | | |
351+
| | +----+---------------------------+----------------+------+---------+----------------+ | | |
352+
| +Filter | 1 | elementId(r) = $autoint_0 | 1 | 0 | 0 | | | | |
353+
| | +----+---------------------------+----------------+------+---------+----------------+ | | |
354+
| +DirectedAllRelationshipsScan | 2 | (n1)-[r]->(anon_0) | 3 | 0 | 0 | 248 | 1/0 | 0.134 | Fused in Pipeline 0 |
355+
+-------------------------------+----+---------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
354356
355357
Total database accesses: 1, total allocated memory: 184
356358
----
@@ -1065,7 +1067,7 @@ Total database accesses: 1, total allocated memory: 184
10651067
== Node By Id Seek
10661068
// NodeByIdSeek
10671069

1068-
The `NodeByIdSeek` operator reads one or more nodes by ID from the node store, specified via the function xref::functions/scalar.adoc#functions-id[id()].
1070+
The `NodeByIdSeek` operator reads one or more nodes by ID from the node store, specified via the function xref::functions/scalar.adoc#functions-elementid[elementId()].
10691071

10701072

10711073
.NodeByIdSeek
@@ -1076,7 +1078,7 @@ The `NodeByIdSeek` operator reads one or more nodes by ID from the node store, s
10761078
----
10771079
PROFILE
10781080
MATCH (n)
1079-
WHERE Id(n) = 0
1081+
WHERE elementId(n) = 0
10801082
RETURN n
10811083
----
10821084
@@ -1091,13 +1093,15 @@ Runtime version {neo4j-version-minor}
10911093
10921094
Batch size 128
10931095
1094-
+-----------------+----+----------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
1095-
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
1096-
+-----------------+----+----------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
1097-
| +ProduceResults | 0 | n | 1 | 1 | 2 | | | | |
1098-
| | +----+----------------------------+----------------+------+---------+----------------+ | | |
1099-
| +NodeByIdSeek | 1 | n WHERE id(n) = $autoint_0 | 1 | 1 | 1 | 248 | 2/0 | 0.257 | Fused in Pipeline 0 |
1100-
+-----------------+----+----------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
1096+
+----------------------+----+-----------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------+
1097+
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
1098+
+----------------------+----+-----------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------+
1099+
| +ProduceResults | 0 | n | 1 | 0 | 0 | | 0/0 | 0.042 | |
1100+
| | +----+-----------------------------------+----------------+------+---------+----------------+------------------------+-----------+ |
1101+
| +NodeByElementIdSeek | 1 | n WHERE elementId(n) = $autoint_0 | 1 | 0 | 1 | 248 | 0/0 | 0.107 | In Pipeline 0 |
1102+
+----------------------+----+-----------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------+
1103+
1104+
11011105
11021106
Total database accesses: 1, total allocated memory: 184
11031107
----

0 commit comments

Comments
 (0)