Hacker News new | ask | show | jobs
Show HN: PrismaGPT – Ask how to query against your schema using natural language (gpt.howtoprisma.com)
2 points by ryanchenkie 1162 days ago
Hi HN!

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!