AllAdjustments::deleteAll(['plan_year_id' => $plan_year_id, 'column_type' => array_keys($allAdjustment), 'is_auto' => $is_auto,
['NOT',['column_id'=>1]],
]);
getting error error: "strtoupper() expects parameter 1 to be string, array given1188C:\xampp\htdocs\sir-git\vendor\yiisoft\yii2\db\QueryBuilder.php"
My Answer:
> AllAdjustments::deleteAll(['plan_year_id' => $plan_year_id]);
Rate this post
4 of 5 based on 3012 votesComments