Tucker-Eric / EloquentFilter

An Eloquent Way To Filter Laravel Models And Their Relationships

Home Page:http://tucker-eric.github.io/EloquentFilter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use group by or multiple group by criterias

pokemonhan opened this issue · comments

image
for example I need to select the result containing sum of win_money with
game sign by created_at (daily/monthly) for day report or monltly report of each game under each vendor
game_vendor_sign by created_at(daily/monthly) for day report or monltly report of each vendor
all game result by created_at(daily/monthly) for day report or monltly report of all individual game
how should I use group by or something tricks please guide me.

I don't think I understand the question. How are you currently doing this and what is the query you are trying to create?