Hello everyone,
We are currently using Neo4j Enterprise version 5.6.0 , with APOC Core version 5.6.0. We've attempted to execute the CALL apoc.export.cypher.schema()
procedure, but it seems to be generating Cypher queries only for "unique constraints." Unfortunately, it does not include Cypher queries for "NOT NULL constraints."
I also attempted to review the procedure's implementation. I noticed that within the statementForCreateConstraint
function of the AbstractCypherFormatter.java
class, constraints of type NODE_PROPERTY_EXISTENCE
are properly handled, resulting in the generation of an IS NOT NULL Cypher query. However, it appears that this specific type of query is not included in the procedure's response. I would appreciate it if someone could provide guidance on what might be missing or how to resolve this issue.
Thank you