为什么这些sql执行我认为“joinWith”finsh全部工作
php
$query = Teacher::find()->select([
'{{%teacher}}.id','{{%teacher}}.nickname','{{%teacher}}.type_id','{{%teacher}}.header_img','{{%teacher}}.type_id',
'{{%teacher}}.edu_area_deep3','{{%teacher}}.edu_level','{{%teacher}}.edu_class','{{%teacher}}.college_graduate_id',
'{{%teacher}}.sex',
'{{%teacher}}.edu_count_time','{{%teacher}}.edu_count_number','{{%teacher}}.teach_subject',
'{{%teacher}}.specialty','{{%teacher}}.reward_count','{{%teacher}}.oneself'
])->joinWith(['typeName','eduLevel','collegeGraduate'])->asArray();