How to get merged array from multiple rows in Laravel?
I have two tables bets and users. bets columns tickets (json) draw_date user_id I would like to get all tickets from users of a specific draw_date. Example result: [ 1 => [283983, 389239, 484843], 2 => [122343, 332344] ] 1,…