We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6598b0c + e583d2f commit a99ec8aCopy full SHA for a99ec8a
examples/statics/statics.js
@@ -28,6 +28,6 @@ async function run() {
28
}
29
30
async function cleanup() {
31
- await Person.remove();
+ await Person.deleteMany();
32
mongoose.disconnect();
33
0 commit comments