📅  最后修改于: 2022-03-11 15:00:46.147000             🧑  作者: Mango
Yii::$app->db
->createCommand()
->batchInsert('table_name', ['column1','column2', 'column3','column4','column5'],$data)
->execute();