Menu
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY CYBERSECURITY DATA SCIENCE
     ❯   

MongoDB Query API


MongoDB Query API

The MongoDB Query API is the way you will interact with your data.

The MongoDB Query API can be used in two ways:

  • CRUD Operations
  • Aggregation Pipelines

MongoDB Query API Uses

You can use the MongoDB Query API to perform:

  • Adhoc queries with mongosh, Compass, VS Code, or a MongoDB driver for the programming language you use.
  • Data transformations using aggregation pipelines.
  • Document join support to combine data from different collections.
  • Graph and geospatial queries.
  • Full-text search.
  • Indexing to improve MongoDB query performance.
  • Time series analysis.

Let's get started!