Maybe a noob question, I'm very new to Primsa, but...
# orm-help
m
Maybe a noob question, I'm very new to Primsa, but is there an abstract type or interface for all the schemas? Since each of them has it's own type after Prisma generates them
r
@Moud 👋 Unfortunately not at the moment. Could you explain your use case?
m
I'm building an abstract model class for all my models
And I want to pass in the prisma object and jave the class make all the crud calls itself
r
As Prisma is not a class based ORM, that’s a bit difficult to achieve. Have a look at this request and the options specified to have a better idea 🙂
n
interface PrismaModel {}