MongoCollection.findOne

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto findOne(T query, U returnFieldSelector, QueryFlags flags)
    struct MongoCollection
    deprecated
    findOne
    (
    R = Bson
    T
    U
    )
  2. auto findOne(T query, U projection, FindOptions options)
  3. auto findOne(T query, FindOptions options)

Meta