notes

MongoDB

Common

  1. To list databases:
  show dbs
  1. To show collections:
  show collections
  1. To show current database:
  db
  1. To create collection:
  db.createCollection('users')
  1. To insert o