Deleting a Single Model
If you have a single model you want to delete, you can use thedelete method
on the instance.
Keep in mind that the data is instantly removed and won’t be recoverable.
Understand how to safely remove records from your MongoDB database using Esix’s deletion methods, including soft deletes and bulk operations.
delete method
on the instance.
Keep in mind that the data is instantly removed and won’t be recoverable.