Ontamine&Vue
groupby another relationship column in chart
Hi everyone, i dont know how to group by a relationship column like: $data = Trend::query(User::query()->with('service:name,id')->groupBy('service_id'))
->between(
now()->startOfYear(),
now()
)
->perYear()
->count();
2 replies
what merhod to use in import action: castStateUsing or filstateUsing
Hi everyone, i have a table with id and name and i want to modify name, while importing, based on a condition applied to id, so my question is, which method i should use to achieve this, castStateUsing or fillStateUsing? thank you
2 replies