В sql у меня такой запрос
select * from table1, table2, table3, table4 where table2.field2=value1 and table2.field2=table1.field2
and table1.value1=value3 and table2.field3=table3.field1 and table4.field1=table3.field2
e.g.
select * from city, state, county, country where state.name='xxy' and state.id=city.state_id
and city.name!='yyy' and state.country_id=country.id and county.city_id=city.id
как это можно преобразовать в мангуста. Я сделал 2 соединения, но я не совсем понимаю, как сделать четыре соединения