Hey everyone, I've been trying to use Prisma to ge...
# orm-help
f
Hey everyone, I've been trying to use Prisma to get my startup's mvp done. Question on documentation, can I safely ignore all the docs that's version
1.16
or below? The reason I said
1.16
is because I'm using
prisma-client
, seems to be a feature for
prisma 1.17 and above
, and it seems to be a replacement over
prisma-bindings
. I started with the prisma bolierplates and didn't know what
prisma-bindings
was, I was pretty confused
j
you can use either
prisma-bindings
or
prisma-client
or a combination on both apparently. They just change the way you query your database basically. I would still use
prisma-client
since it seems to be the new cool library for prisma devs.
👌 1
a
The prisma-client blog talks about type-safety. IMO, there are two primary benefits to prisma-client. Location Prisma bindings are coupled to the server. After generation, prisma-client can be imported in another project. Beyond tooling benefits (eg. intellisense), you can generate dynamic queries locally. This localization of queries means you can more easily separate concerns without needing to build a jungle for your banana. Ease Prisma Client’s API is more user friendly (for primitive use cases, understanding context, info object, etc. hikes learning curve).