graphql
graphql copied to clipboard
Auto incrementing IDs
In a setting with a version we would like a counter which is automatically updated for each new node.
This could potentially be included in the @id
directive.
Isn't that already possible with the callback directive?
Isn't that already possible with the callback directive?
The @callback
directive has no knowledge of the current state of the database unless queried. However, this might fit into a "Cypher post hook" which we have yet to implement.