Nodejs MongoDB Delete

In MongoDB, you can delete records or documents by using the deleteOne() method.

Code :