https://payments.neemaopticians.co.ke/api/patients?phone=0710931375

Query Metrics

5 Database Queries
5 Different statements
220.42 ms Query time
0 Invalid entities

Queries

Group similar statements

mssql connection

# Time Info
1 1.43 ms
SELECT t0.id AS id_1, t0.phone AS phone_2, t0.roles AS roles_3, t0.password AS password_4, t0.created_at AS created_at_5, t0.is_active AS is_active_6, t0.branch_id AS branch_id_7, t0.system_user_id AS system_user_id_8 FROM [neema].[user] t0 WHERE t0.phone = ? ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
Parameters:
[
  "0710931375"
]
2 0.84 ms
SELECT t0.id AS id_1, t0.branch_name AS branch_name_2, t0.branch_code AS branch_code_3, t0.email AS email_4, t0.contact_person AS contact_person_5, t0.phone AS phone_6, t0.active AS active_7, t0.created_at AS created_at_8, t0.location AS location_9 FROM neema.branch t0 WHERE t0.id = ? ORDER BY (SELECT 0) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY
Parameters:
[
  7
]
3 0.46 ms
"START TRANSACTION"
Parameters:
[]
4 216.35 ms
INSERT INTO neema.patient (patient_name, phone, reason, location, appointment_date, is_seen, seen_at, branch_id, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "karatasi"
  "0757818274"
  "check up "
  "maili tatu "
  "2026-03-23"
  0
  null
  7
  1510
]
5 1.34 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
mssql doctrine.dbal.mssql_connection
other_db doctrine.dbal.other_db_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\Branch No errors.
App\Entity\SystemUser No errors.
App\Entity\Patient No errors.