unique constraint
Constraint - all employees have unique employee ids
create constraint on(e:employee) assert e.empid is unique
Dropping an unique constraint
drop constraint on (e:employee) assert e.empid is unique
Property Existence constraint
create constraint on (e:employee) assert exists(e.empid)
Dropping a property existence constraint
drop constraint on (e:employee) assert exists(e.empid)
Create a Node Key Constraint
create constraint on (e:employee) assert (e.empid) is node key
Dropping a node key Constraint
drop constraint on (e:employee) assert (e.empid) is node key