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
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment