P
Prisma5d ago
depr1t

How to create a field in model that only exist on the application layer

When declaring a field in prisma schema is there any decorator to not create a column in database for that field.
1 Reply
RaphaelEtim
RaphaelEtim4d ago
Hi @depr1t We do not have this feature. Can you create a feature request for it? What we do have is the @ignore decorator you add to a field that you want to exclude from Prisma Client.
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Want results from more Discord servers?
Add your server