Mongo CLI

  • show dbs - list all dbs
  • use <never-forget> - use the Never Forget db
  • show collections - show all collections in the current db
  • db.users.find() - get all documents from the collection users
  • db.insertOne({})