public class PropertyUniqueConstraintCreator extends PropertyConstraintCreator
| Modifier and Type | Method and Description |
|---|---|
ConstraintCreator |
unique()
Imposes a uniqueness constraint for the
given property, such that
there can be at most one node, having the given label, for any set value of that property key. |
create, onpublic ConstraintCreator unique()
ConstraintCreatorgiven property, such that
there can be at most one node, having the given label, for any set value of that property key.unique in interface ConstraintCreatorunique in class PropertyConstraintCreatorConstraintCreator instance to be used for further interaction.Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.