https://sys.nenocourier.co.ke/bus/trip/38217/seat/20

Query Metrics

29 Database Queries
11 Different statements
15.81 ms Query time
3 Invalid entities

Queries

Group similar statements

# Time Info
1 0.64 ms
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:
[
  50
]
2 1.15 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.trip_date AS trip_date_3, t0.departure_time AS departure_time_4, t0.eta AS eta_5, t0.fare AS fare_6, t0.trip_index AS trip_index_7, t0.vehicle_is_approved AS vehicle_is_approved_8, t0.route_id AS route_id_9, t0.origin AS origin_10, t0.destination AS destination_11, t0.created_by AS created_by_12, t0.vehicle AS vehicle_13 FROM bus_trip t0 WHERE t0.id = ?
Parameters:
[
  "38217"
]
3 1.01 ms
SELECT t0.id AS id_1, t0.seat_number AS seat_number_2, t0.is_booked AS is_booked_3, t0.status AS status_4, t0.created_at AS created_at_5, t0.trip_id AS trip_id_6 FROM bus_seat t0 WHERE t0.trip_id = ? AND t0.seat_number = ? LIMIT 1
Parameters:
[
  38217
  "20"
]
4 0.38 ms
SELECT t0.id AS id_1, t0.passenger AS passenger_2, t0.phone AS phone_3, t0.departure_time AS departure_time_4, t0.eta AS eta_5, t0.amount AS amount_6, t0.paid_via AS paid_via_7, t0.created_at AS created_at_8, t0.origin AS origin_9, t0.destination AS destination_10, t0.seat_id AS seat_id_11, t0.created_by AS created_by_12 FROM bus_booking_seat t0 WHERE t0.seat_id = ? LIMIT 1
Parameters:
[
  1872269
]
5 0.32 ms
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.created_at AS created_at_3, t0.user AS user_4, t0.station_id AS station_id_5 FROM user_station t0 WHERE t0.user = ? AND t0.is_active = ? LIMIT 1
Parameters:
[
  50
  1
]
6 0.42 ms
SELECT t0.id AS id_1, t0.paybill AS paybill_2, t0.consumer_key AS consumer_key_3, t0.consumer_secret AS consumer_secret_4, t0.pass_key AS pass_key_5, t0.token AS token_6, t0.token_updated_at AS token_updated_at_7, t0.auth_type AS auth_type_8, t0.short_code_type AS short_code_type_9, t0.station AS station_10 FROM mpesa_auth t0 WHERE t0.station = ? AND t0.short_code_type = ? LIMIT 1
Parameters:
[
  2
  "IMANI"
]
7 0.31 ms
SELECT t0.id AS id_1, t0.reserved_at AS reserved_at_2, t0.canceled_at AS canceled_at_3, t0.station_id AS station_id_4, t0.seat_id AS seat_id_5, t0.reserved_by AS reserved_by_6, t0.reserving_station AS reserving_station_7, t0.canceled_by AS canceled_by_8 FROM bus_reservation t0 WHERE t0.seat_id = ? LIMIT 1
Parameters:
[
  1872269
]
8 1.44 ms
SELECT b0_.id AS id_0, b0_.route_type AS route_type_1, b0_.created_at AS created_at_2, b0_.departure_time AS departure_time_3, b0_.eta AS eta_4, b0_.station_id AS station_id_5, b0_.route_id AS route_id_6, b0_.created_by AS created_by_7 FROM bus_stop b0_ WHERE b0_.route_id = ?
Parameters:
[
  8
]
9 1.04 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  21
]
10 0.67 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  29
]
11 0.36 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  16
]
12 0.42 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  41
]
13 0.46 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  38
]
14 0.35 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  15
]
15 0.49 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  2
]
16 0.37 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  22
]
17 0.54 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  23
]
18 0.90 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  46
]
19 0.32 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  39
]
20 0.29 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  40
]
21 0.39 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  30
]
22 0.30 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  44
]
23 0.30 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  49
]
24 0.32 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  33
]
25 0.29 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  48
]
26 0.29 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  32
]
27 0.52 ms
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
  18
]
28 0.52 ms
SELECT b0_.id AS id_0, b0_.route_type AS route_type_1, b0_.created_at AS created_at_2, b0_.departure_time AS departure_time_3, b0_.eta AS eta_4, b0_.station_id AS station_id_5, b0_.route_id AS route_id_6, b0_.created_by AS created_by_7 FROM bus_stop b0_ WHERE b0_.route_id = ? ORDER BY b0_.id DESC
Parameters:
[
  8
]
29 1.01 ms
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.second_name AS second_name_3, t0.sir_name AS sir_name_4, t0.gender AS gender_5, t0.national_id AS national_id_6, t0.phone_number AS phone_number_7, t0.created_at AS created_at_8, t0.date_of_birth AS date_of_birth_9, t0.preferred_name AS preferred_name_10, t0.created_by AS created_by_11 FROM person t0 WHERE t0.id = ?
Parameters:
[
  51
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Person No errors.
App\Entity\Bus\Trip
  • The field App\Entity\Bus\Trip#seats is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Bus\Seat#trip does not contain the required 'inversedBy="seats"' attribute.
App\Entity\Bus\Route
  • The field App\Entity\Bus\Route#stops is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Bus\Stop#route does not contain the required 'inversedBy="stops"' attribute.
App\Entity\Station No errors.
App\Entity\Vehicle No errors.
App\Entity\Bus\Seat
  • The field App\Entity\Bus\Seat#booking is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Bus\BookingSeat#seat does not contain the required 'inversedBy="booking"' attribute.
App\Entity\Bus\BookingSeat No errors.
App\Entity\Bus\Stop No errors.
App\Entity\UserStation No errors.
App\Entity\MpesaAuth No errors.
App\Entity\Bus\Reservation No errors.
App\Entity\Organization No errors.