MongoDB: Simple query
14 February 2024 (Updated 18 May 2025)
db.Article.find({"status": "Published"})
This searches the Article
collection for a document where the status
field is equal to "Published"
Tagged:
MongoDB