What’s the easiest way to do this from my bash prompt? 2Best Answer 21 Like this: mongo <dbname> --eval "db.dropDatabase()" More info on scripting the shell from the command...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow....
I want to query something with SQL’s like query: SELECT * FROM users WHERE name LIKE '%m%' How can I achieve the same in MongoDB? I can’t find an...
mongoDB, connection refused