Skip to content
masterclass Buddy

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.

Subscribe
  • where()
  • first()
  • deleteAll()
  • deleteAndCount()
  • select()
  • include()

Source: Prisma ORM client reference | Prisma Documentation. Checked 2026-11-03.