[This is preliminary documentation and is subject to change.]
Finds a document that satisfied query or null
Namespace: NFX.DataAccess.MongoDB.ConnectorAssembly: NFX.MongoDB (in NFX.MongoDB.dll) Version: 3.0.0.1 (3.0.0.1)
public BSONDocument FindOne(
Query query,
BSONDocument selector = null
)
public BSONDocument FindOne(
Query query,
BSONDocument selector = null
)
Public Function FindOne (
query As Query,
Optional selector As BSONDocument = Nothing
) As BSONDocument
Public Function FindOne (
query As Query,
Optional selector As BSONDocument = Nothing
) As BSONDocument
public:
BSONDocument^ FindOne(
Query^ query,
BSONDocument^ selector = nullptr
)
public:
BSONDocument^ FindOne(
Query^ query,
BSONDocument^ selector = nullptr
)
member FindOne :
query : Query *
?selector : BSONDocument
(* Defaults:
let _selector = defaultArg selector null
*)
-> BSONDocument
member FindOne :
query : Query *
?selector : BSONDocument
(* Defaults:
let _selector = defaultArg selector null
*)
-> BSONDocument
Return Value
Type:
BSONDocument