I need your advice.
Can i use aliases in columns?
$catalog = Fruits::find(array( 'columns' => ['id', 'name', 'brand.name'] ));
I know that I can use modelsManager, but interesting this shortly method.
I need your advice.
Can i use aliases in columns?
$catalog = Fruits::find(array( 'columns' => ['id', 'name', 'brand.name'] ));
I know that I can use modelsManager, but interesting this shortly method.