Suggested way to do nested inserts
In prisma, it is possible to create nested tables (for instance create posts with a user at the same time) like so:
Is it correct that the only way to do this in drizzle would be to do something like:
unless you generate
userId
ahead of time manually1 Reply
I guess that's how you should do it
I would do it in a transaction though