Concept Flow - findOne method
Call findOne with filter
Search collection documents
Check each document matches filter?
No→Continue search
Yes
Return first matching document
END
The findOne method searches documents in a collection and returns the first document that matches the filter criteria.