The “AS” keyword of the select () statement in the Active Record pattern of the Yii2 framework does not work. What is the reason?

  mysql, question

When writing an interface controller today, you need toNewsOf the data found in the tableIdField converted tonews_id.
So I called inheritance directly according to the writing style of Sql statementActive record patternTheNewsModels,
The results of the query dataIdThe field is missing.

$response = News::find()->select(['id AS news_id', 'news_title', 'news_content'])->all();
[
 bracket
 "news_title": "altestTitile",
 "news_content": "kasjdfljsdaf"
 },
 bracket

If used directlyQueryBuilderThe results of the inquiry,IdAs I expected, the field turned out to benews_id:

$response = (new Query())->select(['id AS news_id', 'news_title', 'news_content'])->from('tab_user')->all();
[
 bracket
 "news_id": "1",
 "news_title": "altestTitile",
 "news_content": "kasjdfljsdaf"
 },
 bracket

Is it because I used the wrong method or because some bugs in the Yii2 framework have resulted in incomplete function implementation?
If you encounter or understand similar problems, please help to solve them.

Try [‘id’ = >’ news _ id’,’ news _ title’,’ news _ content’]