This are examples used in course MongoDB - The Complete Developer's Guide 2023 Master MongoDB Development for Web & Mobile Apps. CRUD Operations, Indexes, Aggregation Framework - All about MongoDB!
With MongoDB - The Complete Developer's Guide 2023
In queries folder are examples of queries used in course.
-
How to install and use MongoDB locally and in the cloud (MongoDB Atlas)
-
How to perform CRUD (Create, Read, Update, Delete) operations on MongoDB databases
-
How to filter for data efficiently
-
How to work with both the Mongo Shell and drivers (e.g. Node.js driver)
-
How to increase performance by using indexes (and how to use the right indexes!)
-
How to use the amazing "Aggregation Framework" that's built into MongoDB
-
What replica sets and sharding are
-
How to use MongoDB Atlas - the cloud solution offered by MongoDB
-
How to use the serverless platform (Stitch) offered by MongoDB
-
And much more!
show dbs
shows all databasesuse [db name]
switches to dbdb.dropDatabase()
1st switch to db then dropdb.myCollection.drop()
drop collection