"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.person_id AS person_id_7 FROM user t0 WHERE t0.id = ?"
(parameters:
[1 => 81]
, 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.person_id AS person_id_7 FROM user t0 WHERE t0.id = ?"
"params" => [1 => 81]
"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 t0.id AS id_1, t0.drawer_cash AS drawer_cash_2, t0.account_date AS account_date_3, t0.is_closed AS is_closed_4, t0.created_at AS created_at_5, t0.user_id AS user_id_6, t0.station_daily_account AS station_daily_account_7, t0.closed_by AS closed_by_8 FROM daily_account t0 WHERE t0.user_id = ? ORDER BY t0.id DESC LIMIT 1"
(parameters:
[1 => 81]
, types:
[1 => 1]
)
doctrine
[
"sql" => "SELECT t0.id AS id_1, t0.drawer_cash AS drawer_cash_2, t0.account_date AS account_date_3, t0.is_closed AS is_closed_4, t0.created_at AS created_at_5, t0.user_id AS user_id_6, t0.station_daily_account AS station_daily_account_7, t0.closed_by AS closed_by_8 FROM daily_account t0 WHERE t0.user_id = ? ORDER BY t0.id DESC LIMIT 1"
"params" => [1 => 81]
"types" => [1 => 1]
]
debug
Executing statement:
"""
SELECT b.id,c.account_date,a.expenses,a.created_at,b.percel_count,a.payment_method,d.station_name,b.sender_name,b.sender_phone_number,b.receiver_name,b.receiver_phone_number,a.amount, a.is_cancelled FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id\n WHERE b.from_station_id = 21 AND a.daily_account_id = 37586 AND a.created_by = 81 ORDER BY b.id DESC LIMIT 0,20
"""
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => """
SELECT b.id,c.account_date,a.expenses,a.created_at,b.percel_count,a.payment_method,d.station_name,b.sender_name,b.sender_phone_number,b.receiver_name,b.receiver_phone_number,a.amount, a.is_cancelled FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id\n WHERE b.from_station_id = 21 AND a.daily_account_id = 37586 AND a.created_by = 81 ORDER BY b.id DESC LIMIT 0,20
"""
"params" => []
"types" => []
]
debug
Executing statement:
"""
SELECT count(*) as total FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id\n WHERE b.from_station_id = 21 AND a.daily_account_id = 37586 AND a.created_by = 81
"""
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => """
SELECT count(*) as total FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id\n WHERE b.from_station_id = 21 AND a.daily_account_id = 37586 AND a.created_by = 81
"""
"params" => []
"types" => []
]
debug
Executing statement:
"""
SELECT SUM(b.percel_count) as parcel_count, SUM(a.station_expenses) as station_expenses,SUM(a.tax_amount) as tax_amount, SUM(a.amount) as amount, SUM(a.expenses) as expenses, SUM(a.balance) as balance FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id \n WHERE b.from_station_id = 21 AND a.is_cancelled = false AND a.daily_account_id = 37586 AND a.created_by = 81
"""
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => """
SELECT SUM(b.percel_count) as parcel_count, SUM(a.station_expenses) as station_expenses,SUM(a.tax_amount) as tax_amount, SUM(a.amount) as amount, SUM(a.expenses) as expenses, SUM(a.balance) as balance FROM transaction a \n JOIN way_bill b on a.way_bill_id = b.id\n JOIN daily_account c ON c.id = a.daily_account_id\n JOIN station d ON d.id = b.to_station_id \n WHERE b.from_station_id = 21 AND a.is_cancelled = false AND a.daily_account_id = 37586 AND a.created_by = 81
"""
"params" => []
"types" => []
]