yii2 condition or where code example Example: yii2 query in condition Model::find()->where(['in', 'id', [1,2]])->all();