jtomek commented on issue #1709:
URL: https://github.com/apache/age/issues/1709#issuecomment-2037568630
I second the idea of implementing ON CREATE and ON MERGE.
This would significantly help with business logic needed to prevent
duplicates.
A few neo4j examples as food for thought:
```cypher
MERGE (keanu:Person {name: 'Keanu Reeves'})
ON CREATE
SET keanu.created = timestamp()
ON MATCH
SET keanu.lastSeen = timestamp()
RETURN keanu.name, keanu.created, keanu.lastSeen
```
```cypher
MERGE (person:Person)
ON MATCH
SET
person.found = true,
person.lastAccessed = timestamp()
RETURN person.name, person.found, person.lastAccessed
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]