When I do a projection on a real mongo instance like:
db.getCollection('collection2').find({_id: ObjectId("59527c0189672c558385773c")}, {"collection1Object.$id" : 1}) I get the correct collection2 object with collection1Object variable being resolved.
Unfortunately this is not working in fongo and my collection1Object is being resolved to null
Hi guys, I have the following documents and collections: collection1:
collection2:
When I do a projection on a real mongo instance like:
db.getCollection('collection2').find({_id: ObjectId("59527c0189672c558385773c")}, {"collection1Object.$id" : 1})
I get the correct collection2 object withcollection1Object
variable being resolved. Unfortunately this is not working in fongo and mycollection1Object
is being resolved tonull