Select, update, delete, create, alter, and drop a table in MongoDB in Linux Mint 20
This article will guide you on the basic operations that you can perform on #MongoDB #tables or #collections. By following the very same syntax and operations, you can even write other complex #queries that can easily serve the purpose of your particular task.
MongoDB is almost 100 times faster than traditional database system like RDBMS, which is slower in comparison with the #NoSQL databases. MongoDB supports deep query-ability i.e we can perform dynamic queries on documents using the document-based query language that's nearly as powerful as #SQL.
To open a collection in MongoDB:
1. Finding the current database you're in. db.
2. Listing databases. show databases.
3. Go to a particular #database. use <your_db_name>.
4. Creating a Database.
5. Creating a Collection.
6. Inserting #Data.
7. Querying Data.
8. Updating documents.
