LP Devs Blog

Query database

  • March 23, 2017

    Some commands for MongoDB

    MongoDB Commands Create or switch to a database: use DATABASE_NAME Check currently selected database: db Check database lists: show dbs Drop database: db.dropDatabase() Create collection: db.createCollec...