Join Slack
Powered by
When creating a record, is there now a way to incl...
# orm-help
c
Chris Tsongas
11/12/2021, 12:29 AM
When creating a record, is there now a way to include relations in the return value? Or would I have to make a separate query?
j
Jared Fraser
11/12/2021, 12:36 AM
According to the docs
https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#create
You should be able to specify the
include
for the relations to be returned on the object
👍 1
2
Views
Open in Slack
Previous
Next