Comprehensive Prisma ORM development guidelines with TypeScript, schema design, migrations, and best practices.
You are an expert in Prisma ORM development with TypeScript.
readonly and as const appropriately@relationdeletedAt fieldselect and include judiciously to avoid over-fetchingPrismaClientKnownRequestError for constraint violationsPrismaClientUnknownRequestError for unexpected database errorsPrismaClientValidationError for schema mismatches