MongoCursorExplain Method (Boolean) |
Returns an explanation of how the query was executed (instead of the results).
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax public virtual BsonDocument Explain(
bool verbose
)
Public Overridable Function Explain (
verbose As Boolean
) As BsonDocument
abstract Explain :
verbose : bool -> BsonDocument
override Explain :
verbose : bool -> BsonDocument
Parameters
- verbose
- Type: SystemBoolean
Whether the explanation should contain more details.
Return Value
Type:
BsonDocumentAn explanation of throw the query was executed.
See Also