What problem does it solve? Writing correct Prisma Client queries requires knowing dozens of methods, filter operators, relation patterns, and transaction options, and mistakes lead to runtime errors or inefficient database access. ## Core Features & Use Cases - Model Query Reference: Covers CRUD methods like findUnique, findMany, create, update, upsert, delete, plus aggregation and groupBy operations. - Filtering and Relations: Documents scalar and logical filter operators, relation filters (some, every, none, is), and nested write patterns. - Transactions and Raw SQL: Explains sequential and interactive $transaction patterns, isolation levels, and safe $queryRaw/$executeRaw usage with SQL injection prevention. - Use Case: When building a Next.js API route that needs paginated, filtered user queries with related posts inside a transaction, consult this reference to write correct, type-safe Prisma Client code. ## Quick Start Ask the AI to write a Prisma Client query that finds users filtered by role with their published posts included and paginated by cursor.