"SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.created_at AS created_at_4, t0.roles AS roles_5, t0.email AS email_6, t0.is_active AS is_active_7, t0.person_id AS person_id_8 FROM user t0 WHERE t0.id = ?"
(parameters:
[1 => 157]
, types:
[1 => 1]
)
doctrine
[
"sql" => "SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.created_at AS created_at_4, t0.roles AS roles_5, t0.email AS email_6, t0.is_active AS is_active_7, t0.person_id AS person_id_8 FROM user t0 WHERE t0.id = ?"
"params" => [1 => 157]
"types" => [1 => 1]
]
User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead.
"""
select a.id,a.account_date, a.station_id, d.station_name, sum(c.amount) as amount, count(c.id) as transactions, \n (SELECT sum(inner_a.amount) FROM station_expense inner_a \n JOIN daily_account inner_b ON inner_b.id = inner_a.daily_account_id \n JOIN station_daily_account inner_c ON inner_c.id = inner_b.station_daily_account \n WHERE inner_c.id =a.id ) as expenses \n FROM station_daily_account a \n JOIN daily_account b ON b.station_daily_account = a.id \n JOIN transaction c ON c.daily_account_id = b.id \n JOIN station d ON a.station_id = d.id\n\n WHERE DATE(a.account_date) >= CAST('2026-08-29' AS DATE) AND DATE(a.account_date) <= CAST('2026-08-29' AS DATE) \n GROUP BY a.id ORDER BY a.id DESC LIMIT 0, 20
"""
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => """
select a.id,a.account_date, a.station_id, d.station_name, sum(c.amount) as amount, count(c.id) as transactions, \n (SELECT sum(inner_a.amount) FROM station_expense inner_a \n JOIN daily_account inner_b ON inner_b.id = inner_a.daily_account_id \n JOIN station_daily_account inner_c ON inner_c.id = inner_b.station_daily_account \n WHERE inner_c.id =a.id ) as expenses \n FROM station_daily_account a \n JOIN daily_account b ON b.station_daily_account = a.id \n JOIN transaction c ON c.daily_account_id = b.id \n JOIN station d ON a.station_id = d.id\n\n WHERE DATE(a.account_date) >= CAST('2026-08-29' AS DATE) AND DATE(a.account_date) <= CAST('2026-08-29' AS DATE) \n GROUP BY a.id ORDER BY a.id DESC LIMIT 0, 20
"""
"params" => []
"types" => []
]
debug
Executing statement:
"SELECT count(a.id) total_accounts from station_daily_account a WHERE DATE(a.account_date) >= CAST('2026-08-29' AS DATE) AND DATE(a.account_date) <= CAST('2026-08-29' AS DATE) "
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => "SELECT count(a.id) total_accounts from station_daily_account a WHERE DATE(a.account_date) >= CAST('2026-08-29' AS DATE) AND DATE(a.account_date) <= CAST('2026-08-29' AS DATE) "
"params" => []
"types" => []
]