Increment columns in laravel

Submitted by jack4bean - 6 years ago

Increment columns in laravel

DB::table('my_table')
->where('rowID', 1)
->increment('column1', 2)