Is it possible to have 'prisma introspect' create models for views in Postgres ?
Currently not, but we have a request for that here that you can follow for more updates. As a workaround, you can manually add that view to schema.prisma
as a model
and then query as you do for normal models.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With