electron Delete in nedb


Example

In order to remove documents in nedb, it's very easy. We just have to use remove function of db object.

db.remove({ name: 'bigbounty' }, function (err, numremoved) { // numremoved is the number of documents that are removed. });