The documentation said for ActiveRecord::with
By default, the options specified in relations() will be used to do relational query. In order to customize the options on the fly, we should pass an array parameter to the with() method. The array keys are relation names, and the array values are the corresponding query options.
Post::model()->with(array(
'author'=>array('select'=>'id, name'),
'comments'=>array('condition'=>'approved=1', 'order'=>'create_time'),
))->findAll();
a option like ‘alias’=>‘myComments’ is ignored in version 1.13.
Is there a new way to specify a dynamlic alias for joined table?
Best regards - Jens