will multi-db take care of complex joins and unions?

Hi,

I just want to know, if multi-db plugin takes care of complex joins, subqueries and unions in the query?