yii2 where in

88

yii2 where in -

public function static findProductsOnSale($ids)
{
    return $this->find()->where(['in', 'product_id', $ids])->count();
}

Comments

Submit
0 Comments