Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent sum column

Product::where('id',$id)->sum('quantity');
 
PREVIOUS NEXT
Tagged: #laravel #eloquent #sum #column
ADD COMMENT
Topic
Name
3+4 =