Luca Steeb

Results 155 comments of Luca Steeb

It MIGHT be fixed via #814, but honestly I have no idea if it does :D

ok so the only way to do this, which I used myself all the time, is to generate the unique ID beforehand, and then do the two actions, e.g. create...

Implementation via #1069. Please comment on the PR for any feedback. For other kinds of errors, please open a new issue.

Closing as stale, please re-open if you are running into this.

Closed in favor of #963 as it has a better description of the issue

Kind of, yeah. All generator related code is not the easiest to grasp though, and there are no docs for Prisma AST. There are some tricks to see the info...

Well, internally a CreateMany would also run in a transaction, but potentially it's more optimized, but I'm not sure. Since you are saying "what CreateMany could achieve" – did you...

@nettrino Yes this would work, with the disadvantage that it doesn't run in a transaction. So it might work depending on the use-case.

Yes, correct. Feel free to ask over [discord](https://goprisma.org/docs/community) as well