These are chat archives for Automattic/mongoose

Mar 2019
Mar 28 11:33
hi guy , im new mongo , how i can delete doc with id ?
Mariano Zunino
Mar 28 12:52
@LouBerry You should use a Promise.all(ops), so you can wait for all of your Ops to finish. Once that it's done, you can destroy the connection, or kill the app process.exit(0) (it will close the connection too)