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