Table of Contents

Method Explain

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Explain()

Returns an explanation of how the query was executed (instead of the results).

public virtual BsonDocument Explain()

Returns

BsonDocument

An explanation of thow the query was executed.

Explain(bool)

Returns an explanation of how the query was executed (instead of the results).

public virtual BsonDocument Explain(bool verbose)

Parameters

verbose bool

Whether the explanation should contain more details.

Returns

BsonDocument

An explanation of throw the query was executed.