"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 => 104]
, 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 => 104]
"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 b.id as id, e.station_name,b.parcel_count,b.created_at,\n b.is_verified,b.loaded_at,g.reg_number \n FROM delivery b \n JOIN delivery_vehicle d ON d.delivery_id = b.id\n JOIN station e ON e.id = b.destination\n JOIN station f ON f.id = b.origin_station\n JOIN vehicle g ON g.id = d.vehicle_id\n WHERE b.origin_station = 1 AND d.is_cancelled = false ORDER BY b.id DESC LIMIT 26360,20
"""
(parameters:
[]
, types:
[]
)
doctrine
[
"sql" => """
SELECT b.id as id, e.station_name,b.parcel_count,b.created_at,\n b.is_verified,b.loaded_at,g.reg_number \n FROM delivery b \n JOIN delivery_vehicle d ON d.delivery_id = b.id\n JOIN station e ON e.id = b.destination\n JOIN station f ON f.id = b.origin_station\n JOIN vehicle g ON g.id = d.vehicle_id\n WHERE b.origin_station = 1 AND d.is_cancelled = false ORDER BY b.id DESC LIMIT 26360,20
"""
"params" => []
"types" => []
]
debug
Executing statement:
"SELECT count(d0_.id) AS sclr_0 FROM delivery_parcel d1_ INNER JOIN delivery d0_ ON d1_.delivery_id = d0_.id INNER JOIN parcel p2_ ON d1_.parcel_id = p2_.id INNER JOIN delivery_vehicle d3_ ON d0_.id = d3_.delivery_id INNER JOIN station s4_ ON d0_.destination = s4_.id INNER JOIN station s5_ ON d0_.origin_station = s5_.id INNER JOIN vehicle v6_ ON d3_.vehicle_id = v6_.id INNER JOIN user u7_ ON d0_.created_by = u7_.id INNER JOIN person p8_ ON u7_.person_id = p8_.id WHERE d0_.is_received = 0 AND d0_.origin_station = ?"
(parameters:
[1 => 1]
, types:
[1 => 1]
)
doctrine
[
"sql" => "SELECT count(d0_.id) AS sclr_0 FROM delivery_parcel d1_ INNER JOIN delivery d0_ ON d1_.delivery_id = d0_.id INNER JOIN parcel p2_ ON d1_.parcel_id = p2_.id INNER JOIN delivery_vehicle d3_ ON d0_.id = d3_.delivery_id INNER JOIN station s4_ ON d0_.destination = s4_.id INNER JOIN station s5_ ON d0_.origin_station = s5_.id INNER JOIN vehicle v6_ ON d3_.vehicle_id = v6_.id INNER JOIN user u7_ ON d0_.created_by = u7_.id INNER JOIN person p8_ ON u7_.person_id = p8_.id WHERE d0_.is_received = 0 AND d0_.origin_station = ?"
"params" => [1 => 1]
"types" => [1 => 1]
]