Use the DB increment function to update from an array

0
It is as follows: I have an array in javascript with the id that I want to increment using DB::table('team').increment->('points', 1000). How should I make my controller take this array and increment only the ids that are in it?

    
asked by anonymous 07.06.2018 / 23:21

0 answers