Join Slack
Powered by
Is there a way to use the type used in prisma CURD...
# orm-help
y
YeonHoPark
09/16/2021, 6:54 AM
Is there a way to use the type used in prisma CURD in code ? I want to import UserCreateInput from resolver and use it.
r
Ryan
09/16/2021, 7:00 AM
It’s under
Prisma
.
Copy code
import { Prisma } from '@prisma/client' Prisma.UserCreateInput
👍 1
y
YeonHoPark
09/16/2021, 7:01 AM
ohhhh !! thank you !
👍 1
Open in Slack
Previous
Next