Skip to content

Commit 1b8d79e

Browse files
authored
Add 42N3A-42N3B-42N3C and update 42N39 (#272)
Replaces #252 Documentation for error codes added in [Top Level Braces](neo-technology/neo4j#29137) and [Conditional Subqueries](neo-technology/neo4j#28818).
1 parent 5033936 commit 1b8d79e

File tree

5 files changed

+49
-1
lines changed

5 files changed

+49
-1
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@
268268
**** xref:errors/gql-errors/42N37.adoc[]
269269
**** xref:errors/gql-errors/42N38.adoc[]
270270
**** xref:errors/gql-errors/42N39.adoc[]
271+
**** xref:errors/gql-errors/42N3A.adoc[]
272+
**** xref:errors/gql-errors/42N3B.adoc[]
273+
**** xref:errors/gql-errors/42N3C.adoc[]
271274
**** xref:errors/gql-errors/42N40.adoc[]
272275
**** xref:errors/gql-errors/42N41.adoc[]
273276
**** xref:errors/gql-errors/42N42.adoc[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42N3A
2+
3+
== Status description
4+
Status description:: error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42N3B
2+
3+
== Status description
4+
Status description:: error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42N3C
2+
3+
== Status description
4+
Status description:: error: syntax error or access rule violation - invalid use of 'CALL { ... }'. Not possible to enclose `{ <<clause>> }` in 'CALL { ... }'. Use 'CALL () { ... }' instead.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]

modules/ROOT/pages/errors/gql-errors/index.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,19 @@ Status description:: error: syntax error or access rule violation - duplicate re
10831083
[role=label--changed-2025.03]
10841084
=== xref:errors/gql-errors/42N39.adoc[42N39]
10851085

1086-
Status description:: error: syntax error or access rule violation - incompatible return column names. All `{<<context>>}` must have the same return column names. Use `AS` to ensure columns have the same name.
1086+
Status description:: error: syntax error or access rule violation - incompatible return column names. All `{ <<context>> }` must have the same return column names. Use `AS` to ensure columns have the same name.
1087+
1088+
=== xref:errors/gql-errors/42N3A.adoc[42N3A]
1089+
1090+
Status description:: error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.
1091+
1092+
=== xref:errors/gql-errors/42N3B.adoc[42N3B]
1093+
1094+
Status description:: error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.
1095+
1096+
=== xref:errors/gql-errors/42N3C.adoc[42N3C]
1097+
1098+
Status description:: error: syntax error or access rule violation - invalid use of 'CALL { ... }'. Not possible to enclose `{ <<clause>> }` in 'CALL { ... }'. Use 'CALL () { ... }' instead.
10871099

10881100
=== xref:errors/gql-errors/42N40.adoc[42N40]
10891101

0 commit comments

Comments
 (0)