neo4j-contrib / java-rest-binding

Java Bindings for the Neo4J Server REST API, providing an implementation of GraphDatabaseService
Other
120 stars 72 forks source link

Create node with labels #71

Open alacambra opened 10 years ago

alacambra commented 10 years ago

It is possible to create a node with labels directly? Right now I am implementing a cypher query but would be nice if the create method from RestApi would support it (branch 2.0-labels-...) The reason is to be able to use constraints. If we first create the node and then the label a constraint will not "constraint" until the node has not been created. As a result we have a node without label that has ignored a constraint.