Laravel : show the field name which grouped by

后端 未结 0 697
天命终不由人
天命终不由人 2021-01-29 02:55

I want to create an API ,I have this controller which return data grouped by date:

public function dated_matchs()
    {
        $mdate = Match::all()->groupBy(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题