Comparing
#2 with
#4
Content
[...]
<img src="https://ncpup.files.wordpress.com/2018/07/yii-sql21.png?w=474" />
getCommandBuilder returns this data structure with the generated SQL statement:
<img src="https://ncpup.files.wordpress.com/2018/07/yii-sql32.png?w=474" />
**Path to CActiveRecord.php**
C:\xampp\htdocs\your_project\yii\framework\db\ar\CActiveRecord.php