Prisma · Concept
equals
findUnique() retrieves one record by an ID or unique field. It returns the record or null when no matching record exists.
Last updated
Syntax
prisma.<model>.findUnique({ where, select?, include?, omit?, relationLoadStrategy? })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
findUniqueOrThrow()findFirst()findMany()selectincludeomitrelationLoadStrategy