skip to Main Content

Query in Laravel, get multiple data with GroupBy

I have a table with these columns: event_time (date) event_data (json) player_account char() I'm trying to get all three fields from my query and groupBy by "player_account" field. The problem is doing this query: DB::connection('aa')-table('bb') ->where('event_time', ">", $date) ->select('event_time', 'event_data',…

VIEW QUESTION
Back To Top
Search