RabidCakeMajor
Explore posts from serversPPrisma
•Created by RabidCakeMajor on 8/7/2024 in #help-and-questions
Why Prisma over e.g. Knex for tests?
Hi, I just joined a new company where most seniors have left the company so I can't ask them the "whys"?
The whole project uses Knex for Querying the Database, but for some tests, where we use a temporary MySQL Docker instance, we use Prisma for everything.
Remind you that our project is quite massive (7 years old, 10 Fulltime developers throughout that time).
So, why would we use Prisma, a new SQL library and a new abstraction layer to maintain, instead of Knex for this which IMHO should have everything?
I couldn't find any resource on this, but it seems that Prisma is one of the few that have some documentation on tests with Databases, which makes me believe that might be the reason?
1 replies