Thanks a lot for your prompt response, Clark; it is most appreciated! I had hoped that there would be a way to apply this functionality within the database, but looks like I will have to implement it in the UI. I also found this link <http://jexp.de/blog/2015/04/on-neo4j-indexes-match-merge/> which seems to elaborate on this topic.
Thanks again, and have a great day. Diaa ElKott On Wednesday, April 6, 2016 at 9:03:14 AM UTC-4, Clark Richey wrote: > > Neo doesn’t support unique constraints across multiple properties. You > would have to create a compound property that contains that value and > create a unique constraint on that single property. > > - Clark > > On Apr 6, 2016, at 9:01 AM, Diaa ElKott <[email protected] <javascript:>> > wrote: > > Hello, all: > > I was wondering if you can help me with an answer to the subject question. > For example, consider the following "Person" node: > > *CREATE (john:Person {name:'John B. Smith', dOB:'1980-06-05', > passportNo:'CAN-12345'})* > > I would like to create a constraint on the "Person" lable so as to enforce > uniqueness of the combination of *name+dOB+passportNo*. > > Thanks, and have a great day. > > Diaa ElKott > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
