You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: syntax error or access rule violation - invalid pattern character. An invalid character is used in the pattern. Verify that all characters are supported by `{ <<valueType>> }`.
5
+
6
+
== Example scenario
7
+
8
+
For example, when trying to format using a year character on a time-only type:
9
+
10
+
[source,cypher]
11
+
----
12
+
RETURN format(time(), "yyyy") AS formatted
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/42I65.adoc[42I65] and status description:
17
+
18
+
19
+
[source]
20
+
----
21
+
error: syntax error or access rule violation - invalid pattern character. An invalid character is used in the pattern. Verify that all characters are supported by `ZONED TIME`.
error: syntax error or access rule violation - pattern parsing failed. Pattern parsing failed. Make sure that an even number of escapes are used in the pattern.
5
+
6
+
== Example scenario
7
+
8
+
For example, when formatting a duration:
9
+
10
+
[source,cypher]
11
+
----
12
+
RETURN format(duration("P1Y"), "y 'year")
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/42I66.adoc[42I66] and status description:
17
+
18
+
19
+
[source]
20
+
----
21
+
error: syntax error or access rule violation - pattern parsing failed. Pattern parsing failed. Make sure that an even number of escapes are used in the pattern.
0 commit comments