Using Prisma with Both SQLite and PostgreSQL
Hi community 
is there a way to support both SQLite and PostgreSQL with Prisma at the same time?
In other words, the user would have the option to use either SQLite or PostgreSQL,
with Prisma acting as an abstraction layer.
Specifically, I want to implement the following:
However, the problem here is that prisma.user.findUnique() does not provide type safety for the arguments,
presumably because the types differ between SQLite and PostgreSQL. Is there a workaround for this?
Best regards,
Tobi
is there a way to support both SQLite and PostgreSQL with Prisma at the same time?
In other words, the user would have the option to use either SQLite or PostgreSQL,
with Prisma acting as an abstraction layer.
Specifically, I want to implement the following:
However, the problem here is that prisma.user.findUnique() does not provide type safety for the arguments,
presumably because the types differ between SQLite and PostgreSQL. Is there a workaround for this?
Best regards,
Tobi