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