I often ask ChatGPT how to construct Prisma queries, especially when things get a bit more complicated.
Since I do that on the regular, I decided to put together a tool that is specific to that purpose: PrismaGPT (https://gpt.howtoprisma.com/)
With PrismaGPT, you can drop in your Prisma schema and ask questions like "how do I get a list of users and all their related posts". You'll get results for both a Prisma Client query as well as raw SQL.
Hopefully it's useful, especially if you're newer to Prisma and want to get going quickly!
No comments yet.