How to replace SQL features in neo4j?


I am wondering how to replace SQL features in Neo4j

  1. Creating default constraint while creating a new table.for example- if no value is entered for a property while creating a new node, it is automatically set to integer 1. I am aware that it is possible through merge - on create. But I don't want to manually add everytime. Is there anything that we can define it while creating a node like constraints.
  2. 'Identity' for automatically increment userid while inserting a new record that is sequential and refers to other nodes as well.

Any help would be appreciated. Thanks.


some suggestions here: cypher - Is it possible to have default properties of nodes in neo4j? - Stack Overflow