In relational databases like mysql I was used to do soft delete by setting deleted_at. And then for retrieving SELECT just get rows WHERE deleted_at IS NULL.
I am confused how to implement soft delete in neo4j database. There are multiple ways I am getting but not sure which method or combination will have more advantages.
I also read Neo4j: implementing soft delete with optional relationships but not helping.
- Just set property of node deleted_at.
- Remove node label and change by prefix "_" like "Student" will become "_Student"
- Remove relationship and change by prefix "_" like "TEACHES" will become "_TEACHES"
Which will be best way or combination or other way to achieve soft delete in neo4j?