Performs joins on MongoDB documents and those from compatible databases.