Skip to content

deleteMany should be valid without parameters #4302

@timsuchanek

Description

@timsuchanek

As of now, if I want to do this call:

prisma.user.deleteMany()

The TypeScript types complain, that I need to at least provide an empty object as input:

prisma.user.deleteMany({})

This empty object is not necessary and should just be optional.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions