Is it possible to drop a mongodb database from my app’s api?
I can do it using mongosh, db.dropDatabase(), but would like to do this from my JavaScript api. I can’t seem to find much info, or perhaps in my naivety I’m searching for the right term.
Any help would be appreciated,
Cheers