BrowserCode
LearnExercisesQuizzesPlaygroundReferencesProjects
BrowserCode
Ctrl K
HTMLCSSJavaScriptTypeScriptPythonTailwind CSSReactBootstrapPHPSQLMongoDBNode.jsSEOTyping Speed
HTMLCSSJavaScriptTypeScriptPythonTailwind CSSReactBootstrapPHPSQLMongoDBNode.jsSEOTyping Speed
Back to Mongodb Index

Aggregation

  • $addFields
  • $count
  • $facet
  • $group
  • $limit
  • $lookup
  • $match
  • $project
  • $replaceRoot
  • $set
  • $skip
  • $sort
  • $unwind

Concepts

  • BSON
  • Collection
  • Document
  • ObjectId

Methods

  • aggregate()
  • countDocuments()
  • createIndex()
  • deleteMany()
  • deleteOne()
  • distinct()
  • drop()
  • dropIndex()
  • estimatedDocumentCount()
  • explain()
  • find()
  • findOne()
  • insertMany()
  • insertOne()
  • replaceOne()
  • updateMany()
  • updateOne()
  • watch()

Operators

  • $addToSet
  • $all
  • $and
  • $elemMatch
  • $eq
  • $exists
  • $expr
  • $gt
  • $gte
  • $in
  • $inc
  • $lt
  • $lte
  • $max
  • $min
  • $mul
  • $ne
  • $nin
  • $nor
  • $not
  • $or
  • $pop
  • $pull
  • $pullAll
  • $push
  • $regex
  • $rename
  • $set
  • $size
  • $type
  • $unset
  1. References
  2. MongoDB
  3. Operators
Operators

$min

The $min operator is used for querying or updating documents.

$min

The $min operator is used for querying or updating documents.

Syntax

{ field: { $min: value } }

Example

{ age: { $min: 20 } }
← Previous$mulNext →$max
BrowserCode

An interactive educational platform designed to help you learn modern web development directly in your browser. No setup required.

Learn

  • Courses
  • Playgrounds
  • Exercises
  • Quizzes
  • Projects
  • References
  • Typing Speed

Company

  • About Us
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Acceptable Use
  • Disclaimer

© 2026 BrowserCode. All rights reserved.

Made for education.