OGM - function to add relationship without loading the relation objects in memory

Hey Amr,
I confess that I am not familiar with this ogm tool, but it strikes me that you are facing a similar problem that I had from a Spring Data perspective.
Whilst waiting for an informed answer, you may want to have a look at my humble effort at a cypher query at Adding to a list with Spring Data Neo4j with Kotlin in case you need to go in that direction.

Either way - good luck with your efforts.

1 Like