I am wondering how to replace SQL features in Neo4j
- 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.
- '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.