kymbrik
10/5/2017 - 11:12 AM

Simple Yii db query (Update, Truncate) without return value

Simple Yii db query (Update, Truncate) without return value

$sql = "TRUNCATE TABLE `html_parser_designers_urls`";
\Yii::$app->db->createCommand($sql)->execute();