grails / grails-data-mapping

GORM - Groovy Object Mapping
http://gorm.grails.org/
217 stars 198 forks source link

[Feature Request] Support neo4j constraints #568

Open mburak opened 8 years ago

mburak commented 8 years ago

GORM constraints should create constraints on the neo4j side.

Below you can find some documentation: http://neo4j.com/docs/stable/query-constraints.html

And also you can find some documentation about new neo4j 2.3 Property Existence Constraints: http://neo4j.com/blog/neo4j-2-3-enterprise-applications-at-scale/

graemerocher commented 8 years ago

Partially implemented by https://github.com/grails/grails-data-mapping/commit/dc072a993763678cf7f291f11cfaa034c103f590

Although not with support for null constraints yet (only unique)