Method MongoCollection.findOne
Prototypes
Bson findOne((T,U = typeof(null)))( T query, U returnFieldSelector, QueryFlags flags );
Returns
the first match or null
Throws
Exception if a DB communication error or a query
error occured.
See_Also
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.