mouzak
354
6
Laravel

laravel increment with condition

Posted 4 months ago by mouzak

Hi, I need help please I want to increment the colone 'cumulconges' of 2 days at each "end of the month ie in every 30 days. how to add this condition to this query

$data['cpt']=DB::table('salaries')->increment('cumulconges', 2); thank's

Please sign in or create an account to participate in this conversation.