berrybeat / Neo4j.Berries.OGM

This repository adds an OGM functionality for csharp
https://berrybeat.com/
MIT License
23 stars 2 forks source link

Modified time on relation #48

Closed Nropb closed 2 months ago

Nropb commented 3 months ago

Is your feature request related to a problem? Please describe. Currently when creating a relation between two nodes that have been connected previously, a new relationship won't be created and/or the previous relation won't be updated.

Describe the solution you'd like A way to solve this would be to set a property "modifiedOn" o.s. and update existing relationships on a MERGE.

farhadnowzari commented 2 months ago

The feature will be as the following.

On configuring the api for a service, the developer will be able to:

Then on each merge, if the feature is on and the merge is performing create, it will set a create date and if it is updating it will set a modified date.