is it possible to connect your own database adapter to prisma? I’m having trouble finding documentation about how providers are used/constructed. I’m keen on the idea of exploring a sql-sandbox provider as a way to build a more robust transaction-rollback database testing suite. Any recommended resources on where to get started learning more about that?
✅ 1
n
Nurul
07/25/2022, 9:35 AM
Hey Austin 👋
Do you mean resources to create a new database connector (For one which is not supported by Prisma yet)? Or are you referring to creating a generator?
a
Austin
07/25/2022, 10:24 PM
Hey Nurul, thanks for your reply 😄
I mean resources on how to create a new database connector
n
Nurul
07/26/2022, 2:10 PM
We don’t have an official guide for creating new database connectors because generally, it’s a long and complicated process supporting a new database connector. I’ll pass this feedback to docs team to see if we could create some resources that would enable community members to create new database connectors.
a
Austin
07/26/2022, 7:12 PM
The one I want to create is inspired by the sql-sandbox adapter of ecto, which is the elixir data-mapper (not quite an ORM). So it's not quite a standalone adapter, more for supporting an alternative testing paradigm. It’s perhaps an odd request so wouldn't be surprised if this doesn't go anywhere 😂