You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example gives the impression that the returned categories order is matching the input order, even though this is not always the case (Check this discussion here prisma/prisma#24894)
My suggestion is the following, we can update the workaround example like this
Hi,
Today, I was checking the docs regarding
createManyAndReturn
and I saw the following example.https://www.prisma.io/docs/orm/prisma-client/queries/relation-queries#using-nested-createmany
This example gives the impression that the returned categories order is matching the input order, even though this is not always the case (Check this discussion here prisma/prisma#24894)
My suggestion is the following, we can update the workaround example like this
Also, I believe that the fact that the order is not garanteed should be mentioned in the remarks of
createManyAndReturn
sectionhttps://www.prisma.io/docs/orm/reference/prisma-client-reference#createmanyandreturn
The text was updated successfully, but these errors were encountered: