clojurewerkz.neocons.rest.constraints
Operations on constraints (Neo4J 2.0+ only).
create-unique
(create-unique connection label property)
Creates a unique constraint on a given label and property. See http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-create-uniqueness-constraint
drop-unique
(drop-unique connection label property)
Drops an existing uniquenss constraint on an label and property. See http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-drop-constraint
get-all
(get-all connection)
(get-all connection label)
Gets information about all the different constraints associated with a label. See http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-get-all-constraints-for-a-label If no label is passed, gets information about all the constraints. http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-get-all-constraints
get-unique
(get-unique connection label)
(get-unique connection label property)
Gets information about a unique constraint on a given label and a property. If no property is passed, gets all the various uniqueness constraints for that label. See http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-get-all-uniqueness-constraints-for-a-label and http://docs.neo4j.org/chunked/milestone/rest-api-schema-constraints.html#rest-api-get-all-constraints-for-a-label