hi, im new to red bean and im not sure if there is an easy way to get all the relations (or x relations), right now the only way i found is:
$localidades = $this->db::findAll('localidad', 'ORDER BY nombre ASC');
foreach($localidades as $localidad)
{
$localidad->municipio->nombre;
}
If i dont do that i cant get $localidad->municipio->nombre in my template >_o, i know thats a mess, thats why i want some advice :(
localidad have id, name, municipio_id
municipio have id, name
thanks n_nU