Let’s say I have a list of objects and each such o...
# exposed
s
Let’s say I have a list of objects and each such object has a list of some other type. Is there a way to do some sort of nested insert? E.g.
Copy code
data class Parent(
   ... data,
   val children: List<Child>
)

data class Child(
   ... data,
)
I would like to insert a list of parents and for each parent insert a list of children with a reference to their parent.