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