Prisma · Module
delete
delete() removes one row that matches a preceding where() filter. It returns the deleted row, or null when no row matches.
Last updated
Syntax
collection.where(filter).delete()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
where()first()deleteAll()deleteAndCount()select()include()