Also it is not clear to me, how I would seed the d...
# orm-help
n
Also it is not clear to me, how I would seed the database with the one-to-one relationship. The seeding example shows related objects being created as part of the parent object. However, I have json files for each table separately. So I would prefer loading each table in a separate loop. Is that possible?
r
Yes it’s possible. Create the parent first and then connect the child to the parent in the second loop.
1