Asya,
Thanks for that answer, did not pay attention before. This is what I came up based on your suggestion in the other thread
dBCollection.aggregate(
{ "$project" : { "FirstName" : 1 , "LastName" : 1 , "__S" : { "$ifNull" : [ "$Notes" , [ { }]]}}},
{ "$unwind" : "$__S"},
{ "$project" : { "_m0" : "$FirstName" , "_m1" : "$LastName" ,"_m2" : "$__S.Comment"}}
);
The intention is come up behavior like LEFT OUTER join. But $unwind was snubbing the whole result if child array document is empty or null, which represents the right side in my join.
Let me know if this makes a good candidate for adding a JIRA?
Ramesh..