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