$command = (new \yii\db\Query())
->select(['id', 'email'])
->from('user')
->where(['last_name' => 'Smith'])
->limit(10)
->createCommand();
// показать SQL запрос
echo $command->sql;
// показать привязываемые параметры
print_r($command->params);
url: "delete_img.php",
url: 'default/delete'
gsettings set com.canonical.Unity form-factor 'Desktop'
gsettings set com.canonical.Unity form-factor 'Netbook'
public $publishOptions = ['forceCopy' => true];
'assetManager' => [
'linkAssets' => true,
],
$dataProvider = new ActiveDataProvider([
'query' => Model::find()->where(['>=','position', 23]),
]);