0

Having the following models:
continent (continent_id, name)
country (country_id, name) belongs to continent
city (city_id, name) belongs to country
I want to select all the cities in a continent using the findAllBy function:
$this->City->findAllByContinent_Id(1);