Due to memory limitations I was forced to remove my datapoints from my sensors from an array into individual documents. I decided to use
MongoDBRef Objects in my code to "join" the collections back together. I can create and write those
MongoDBRef objects just fine into the database, and I can retrieve them, too.
But I want to now use the function to follow the reference as it is described here. However
MongoDatabase is a legacy class and obsolete at this point, and the new interface
IMongoDatabase doesn't implement the function.
I had a look here and that function in the answer also doesn't exist anymore.
Do I have to create an extra query myself from the data in the
MongoDBRef object or am I missing something here?