Table of Contents

Method FetchDBRef

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

FetchDBRef(MongoDBRef)

Fetches the document referred to by the DBRef.

public virtual BsonDocument FetchDBRef(MongoDBRef dbRef)

Parameters

dbRef MongoDBRef

The MongoDBRef to fetch.

Returns

BsonDocument

A BsonDocument (or null if the document was not found).