Skip to content

Commit e6ab70f

Browse files
JoelBergstrandrenetapopova
authored andcommitted
Adding 42I68, ambiguous pattern
1 parent be4de65 commit e6ab70f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
= 42I68
2+
3+
== Status description
4+
error: syntax error or access rule violation - ambiguous pattern field. The pattern contains pattern elements that refer to the same pattern fields. Make sure that the pattern is non-ambiguous.
5+
6+
== Example scenario
7+
8+
For example, when parsing a duration string value:
9+
10+
[source,cypher]
11+
----
12+
RETURN duration("5 hours 12 minutes 15 minutes", "h 'hours' m 'minutes' m 'minutes'"
13+
----
14+
15+
You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
16+
This error has a cause detailed in xref:errors/gql-errors/42I68.adoc[42I68] and status description:
17+
18+
19+
[source]
20+
----
21+
error: syntax error or access rule violation - ambiguous pattern field. The pattern contains pattern elements that refer to the same pattern fields. Make sure that the pattern is non-ambiguous.
22+
----
23+
24+
ifndef::backend-pdf[]
25+
[discrete.glossary]
26+
== Glossary
27+
28+
include::partial$glossary.adoc[]
29+
endif::[]

0 commit comments

Comments
 (0)