Join Slack
Powered by
how can i return list of created ids when using cr...
# prisma-client
y
Yousuf Hasan
02/10/2021, 5:49 AM
how can i return list of created ids when using createMany(data: {}) ?
r
Ryan
02/10/2021, 7:00 AM
Hey
@Yousuf Hasan
👋 Unfortunately it’s not possible currently, you would need to create first and then fetch the id’s via
findMany
. I would suggest creating a feature request
here
for the same so that we can look into this 🙂
24
Views
Open in Slack
Previous
Next