Mongodb tips

Connect to an instance

1
mongo "mongodb+srv://jacob:xxx@app-qa.5rmyn.mongodb.net/synapbox_qa" --username jacob

Common actions:

1
2
3
4
show dbs # list dbs
show users
show roles
show collections