OurBigBook About$ Donate
 Sign in Sign up

MongoDB

Ciro Santilli (@cirosantilli, 37) ... Information technology Computer Software Database Type of database NoSQL
Updated 2025-07-16  0 By others on same topic  0 Discussions Create my own version
List databases:
echo 'show dbs' | mongo
Delete database:
use mydb
db.dropDatabase()
or:
echo 'db.dropDatabase()' | mongo mydb
View collections within a database:
echo 'db.getCollectionNames()' | mongo mydb
Show all data from one of the collections: stackoverflow.com/questions/24985684/mongodb-show-all-contents-from-all-collections
echo 'db.collectionName.find()' | mongo mydb
  • Table of contents
    • Install MongoDB on Ubuntu MongoDB

Install MongoDB on Ubuntu

 0  0
MongoDB
Tested as of Ubuntu 20.04, there is no Mongo package available by default due to their change to Server Side Public License, which Debian opposed. Therefore, you have to add their custom PPA as mentioned at: docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

 Ancestors (9)

  1. NoSQL
  2. Type of database
  3. Database
  4. Software
  5. Computer
  6. Information technology
  7. Area of technology
  8. Technology
  9.  Home

 Incoming links (3)

  • randyscotsmithey/feathers-realworld-example-app
  • Server Side Public License
  • The Math Genome Project

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook