prisma-client-api
Installation
Summary
Complete Prisma Client API reference for model queries, CRUD operations, filtering, relations, and transactions.
- Covers 17 model query methods including
findUnique,findMany,create,update,delete,upsert, and bulk operations with return variants - Provides query options for shaping results:
select,include,omit,orderBy,take,skip,cursor, anddistinct - Includes scalar and logical filter operators (
equals,in,contains,startsWith,lt,gt) plus relation filters (some,every,none,is) - Supports array and interactive transaction patterns via
$transaction(), raw SQL execution with$queryRawand$executeRaw, and client lifecycle methods - Organized by eight priority categories with detailed reference files covering constructor setup, client instantiation for Prisma 7.x with adapters, and extension patterns
SKILL.md
Prisma Client API Reference
Complete API reference for Prisma Client. This skill provides guidance on model queries, filtering, relations, and client methods for current Prisma projects.
When to Apply
Reference this skill when:
- Writing database queries with Prisma Client
- Performing CRUD operations (create, read, update, delete)
- Filtering and sorting data
- Working with relations
- Using transactions
- Configuring client options