Increment columns in laravel

Submitted by jack4bean - 2 months ago

Increment columns in laravel

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