Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
**** xref:errors/gql-errors/22NB7.adoc[]
**** xref:errors/gql-errors/22NB8.adoc[]
**** xref:errors/gql-errors/22NB9.adoc[]
**** xref:errors/gql-errors/22NBA.adoc[]
*** xref:errors/gql-errors/index.adoc#invalid-transaction-state[Invalid transaction state]
**** xref:errors/gql-errors/25G02.adoc[]
**** xref:errors/gql-errors/25N01.adoc[]
Expand Down
27 changes: 27 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/22NBA.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
= 22NBA

== Status description

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.

== Example scenario

For example, try to create a property type constraint for a vector, omitting the dimension:

[source,cypher]
----
CREATE CONSTRAINT myConstraint
FOR (n:Label)
REQUIRE n.prop IS :: VECTOR<INTEGER>
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11].
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.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]