GET https://lafiaa.pro/medecin/patients

Query Metrics

4 Database Queries
4 Different statements
1.47 ms Query time
0 Invalid entities
9 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.47 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.first_name AS first_name_3, t0.last_name AS last_name_4, t0.phone AS phone_5, t0.roles AS roles_6, t0.password AS password_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t11.id AS id_12, t11.birth_date AS birth_date_13, t11.gender AS gender_14, t11.address AS address_15, t11.city AS city_16, t11.phone AS phone_17, t11.created_at AS created_at_18, t11.user_id AS user_id_19, t20.id AS id_21, t20.first_name AS first_name_22, t20.last_name AS last_name_23, t20.phone AS phone_24, t20.bio AS bio_25, t20.photo_filename AS photo_filename_26, t20.consultation_price AS consultation_price_27, t20.is_verified AS is_verified_28, t20.created_at AS created_at_29, t20.user_id AS user_id_30, t20.specialty_id AS specialty_id_31, t20.medical_center_id AS medical_center_id_32 FROM `user` t0 LEFT JOIN patient t11 ON t11.user_id = t0.id LEFT JOIN doctor t20 ON t20.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  10
]
2 0.57 ms
SELECT a0_.id AS id_0, a0_.appointment_date AS appointment_date_1, a0_.appointment_time AS appointment_time_2, a0_.status AS status_3, a0_.reason AS reason_4, a0_.created_at AS created_at_5, p1_.id AS id_6, p1_.birth_date AS birth_date_7, p1_.gender AS gender_8, p1_.address AS address_9, p1_.city AS city_10, p1_.phone AS phone_11, p1_.created_at AS created_at_12, u2_.id AS id_13, u2_.email AS email_14, u2_.first_name AS first_name_15, u2_.last_name AS last_name_16, u2_.phone AS phone_17, u2_.roles AS roles_18, u2_.password AS password_19, u2_.is_active AS is_active_20, u2_.created_at AS created_at_21, u2_.updated_at AS updated_at_22, a0_.patient_id AS patient_id_23, a0_.doctor_id AS doctor_id_24, p1_.user_id AS user_id_25 FROM appointment a0_ INNER JOIN patient p1_ ON a0_.patient_id = p1_.id INNER JOIN `user` u2_ ON p1_.user_id = u2_.id WHERE a0_.doctor_id = ? ORDER BY a0_.appointment_date DESC, a0_.appointment_time DESC
Parameters:
[
  7
]
3 0.23 ms
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.phone AS phone_4, t0.bio AS bio_5, t0.photo_filename AS photo_filename_6, t0.consultation_price AS consultation_price_7, t0.is_verified AS is_verified_8, t0.created_at AS created_at_9, t0.user_id AS user_id_10, t0.specialty_id AS specialty_id_11, t0.medical_center_id AS medical_center_id_12 FROM doctor t0 WHERE t0.user_id = ?
Parameters:
[
  9
]
4 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4 FROM specialty t0 WHERE t0.id = ?
Parameters:
[
  13
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Appointment 3
App\Entity\User 2
App\Entity\Doctor 1
App\Entity\Specialty 1
App\Entity\MedicalCenter 1
App\Entity\Patient 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Patient No errors.
App\Entity\Doctor No errors.
App\Entity\Specialty No errors.
App\Entity\MedicalCenter No errors.
App\Entity\Appointment No errors.