Prisma
0 folder(s), 5 note(s)
01. Getting Started and Core Concepts
Prisma Learning Notes This project is a small TypeScript + Prisma + PostgreSQL practice project. Current models: User To...
02. Schema Definition and Data Modeling
7. Prisma Client Setup In src/index.ts: Why $disconnect() matters: Prisma opens a database connection. At the end of you...
03. Advanced Querying and Migrations
15. Upsert upsert means: If it exists, update it. If it does not exist, create it. This is useful with unique fields. Th...
04. Testing and Data Seeding
23. Transactions A transaction means: Run multiple database operations together. If one fails, all fail. If all pass, al...
05. Production Deployment and Workflows
31. Practice Tasks Try these one by one in src/index.ts. Task 1: Create users Create three users with different username...