“Mongoose Desfazer delete” Respostas de código

Mongoose Desfazer delete

No,
You cannot undo a delete operation.
Once deleted the data cannot be retrieved UNLESS a dump of the collections is created
before deleting it.
My_Name's_DEEZ

Mongoose remove

const res = await Character.remove({ name: 'Eddard Stark' });
res.deletedCount; // Number of documents removed
Abdulhakim Zeinu

Respostas semelhantes a “Mongoose Desfazer delete”

Perguntas semelhantes a “Mongoose Desfazer delete”

Mais respostas relacionadas para “Mongoose Desfazer delete” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código