IA
Size: a a a
IA
FL
ФШ
Д
and (
`created_at` >= '2020-04-13'
and `created_at` <= '2020-04-17'
)
$whereDates = [
["created_at",">=",$fromDate],
["created_at","<=",$toDate],
];
P
Д
Д
Д
DP
Д
D
P
Д
VP
DP
Д
->groupBy('date')
->orderBy('date', 'ASC')
->get(array(
DB::raw('Date(created_at) as date'),
DB::raw('COUNT(*) as "count"')
));
А
->groupBy('date')
->orderBy('date', 'ASC')
->get(array(
DB::raw('Date(created_at) as date'),
DB::raw('COUNT(*) as "count"')
));
А
Д
LB
Date(created_at)
-> D
ATETIME(created_at)