JOIN t2 ON t1.id=t2.id AND t1.date=t2.date
I am new to mongodb and I didn’t find a query to join two collections where I need to compare two fields from both collections.
JOIN t2 ON t1.id=t2.id AND t1.date=t2.date
I am new to mongodb and I didn’t find a query to join two collections where I need to compare two fields from both collections.