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: data exception - omitting mandatory field for property type constraints for vectors. Property type constraints for vectors need to define both coordinate type and dimension.
6
+
7
+
== Example scenario
8
+
9
+
For example, try to create a property type constraint for a vector, omitting the dimension:
10
+
11
+
[source,cypher]
12
+
----
13
+
CREATE CONSTRAINT myConstraint
14
+
FOR (n:Label)
15
+
REQUIRE n.prop IS :: VECTOR<INTEGER>
16
+
----
17
+
18
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11].
19
+
This error has a cause detailed in xref:errors/gql-errors/22N90.adoc[22N90], which also has a subsequent cause with GQLSTATUS 22NBA and the status description above.
0 commit comments