Hi, I am quite new to Prisma and I have a simple question! What is the different between a model and a type in the schema?
✅ 1
n
Nurul
06/14/2022, 7:37 AM
Hey Jack 👋
Welcome to our Slack community! 😄
You could consider model as a table/collection in your database.
While type (composite type) is specific to MongoDB, you could consider type as embedded documents.