Hi, I want to use specific column when using find().
in this case find with specific columns parameter doesn't work with relational model. but if I comment //$parameters['columns'] it works.
error
Notice: Undefined property: Phalcon\Mvc\Model\Row::$provinces
mycontroller
$parameters['columns'] = "id_product"; //it works fine, if i comment this line
$products = new \App\Models\Products();
$prd = $products::findFirst($parameters);
print_r($prd->provinces->province_name);die;
my model
public function initialize(){
$this->belongsTo('product_state', 'App\Models\CountryProvinces', 'province_id', array('alias' => 'Provinces'));
}