$deleteMany
Last updated
Last updated
Delete multiple records from the table based on the provided conditions. The $deleteMany method is used to remove multiple entries in a single operation. If soft delete is enabled, the records are marked as deleted without being permanently removed; otherwise, they are permanently deleted. This method is ideal for batch deletion operations.
$where
<StaticProps>
$options
⇒
<FindOptions>