Increment columns in laravel

Submitted by jack4bean - 7 years ago

Increment columns in laravel

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