Collection FindOne Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Finds a document that satisfied query or null

Namespace: NFX.DataAccess.MongoDB.Connector
Assembly: NFX.MongoDB (in NFX.MongoDB.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public BSONDocument FindOne(
	Query query,
	BSONDocument selector = null
)

Return Value

Type: BSONDocument
See Also