mouzak
207
6
Laravel

laravel increment with condition

Posted 1 month 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.

Reply to

Use Markdown with GitHub-flavored code blocks.