0.34 ms (25.73%)
|
1 |
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.id = ?
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.id = '5';
|
0.29 ms (21.86%)
|
1 |
SELECT a0_.id AS id_0, a0_.day_of_week AS day_of_week_1, a0_.start_time AS start_time_2, a0_.end_time AS end_time_3, a0_.is_active AS is_active_4, a0_.doctor_id AS doctor_id_5 FROM availability a0_ WHERE a0_.doctor_id = ? AND a0_.day_of_week = ? AND a0_.is_active = ? ORDER BY a0_.start_time ASC
SELECT a0_.id AS id_0, a0_.day_of_week AS day_of_week_1, a0_.start_time AS start_time_2, a0_.end_time AS end_time_3, a0_.is_active AS is_active_4, a0_.doctor_id AS doctor_id_5 FROM availability a0_ WHERE a0_.doctor_id = 5 AND a0_.day_of_week = 5 AND a0_.is_active = 1 ORDER BY a0_.start_time ASC;
|
0.26 ms (19.79%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.address AS address_4, t0.city AS city_5, t0.phone AS phone_6, t0.email AS email_7, t0.description AS description_8 FROM medical_center t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.address AS address_4, t0.city AS city_5, t0.phone AS phone_6, t0.email AS email_7, t0.description AS description_8 FROM medical_center t0 WHERE t0.id = 5;
|
0.23 ms (17.58%)
|
1 |
SELECT t0.id AS id_1, t0.appointment_date AS appointment_date_2, t0.appointment_time AS appointment_time_3, t0.status AS status_4, t0.reason AS reason_5, t0.created_at AS created_at_6, t0.patient_id AS patient_id_7, t0.doctor_id AS doctor_id_8 FROM appointment t0 WHERE t0.doctor_id = ? AND t0.appointment_date = ?
Parameters: [
5
"2026-10-09"
]
SELECT t0.id AS id_1, t0.appointment_date AS appointment_date_2, t0.appointment_time AS appointment_time_3, t0.status AS status_4, t0.reason AS reason_5, t0.created_at AS created_at_6, t0.patient_id AS patient_id_7, t0.doctor_id AS doctor_id_8 FROM appointment t0 WHERE t0.doctor_id = 5 AND t0.appointment_date = '2026-10-09';
|
0.20 ms (15.04%)
|
1 |
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 = ?
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 = 12;
|