For the below query
SQL:
SELECT * FROM TableA as A LEFT JOIN TableB as B ON (A.id = B.id AND A.name =B.name)
Mongo:
TableA.