IMhO, i think it should be,
DB::table('items')->where('id','=',$itemID)->increment('save',1);
also, increment() uses a +1 counter by default so we can simply use increment('save').
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community