GET https://garage.farahtech.ma/appointment

Query Metrics

8 Database Queries
8 Different statements
6.96 ms Query time
1 Invalid entities
4 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.37 ms
(34.01%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.appointment_date AS appointment_date_3, a0_.appointment_time AS appointment_time_4, a0_.duration AS duration_5, a0_.status AS status_6, a0_.type AS type_7, a0_.estimated_cost AS estimated_cost_8, a0_.notes AS notes_9, a0_.created_at AS created_at_10, a0_.updated_at AS updated_at_11, a0_.customer_id AS customer_id_12, a0_.vehicle_id AS vehicle_id_13, a0_.mechanic_id AS mechanic_id_14 FROM appointment a0_ LEFT JOIN customer c1_ ON a0_.customer_id = c1_.id LEFT JOIN vehicle v2_ ON a0_.vehicle_id = v2_.id ORDER BY a0_.appointment_date ASC
Parameters:
[]
0.91 ms
(13.01%)
1
SELECT COUNT(a0_.id) AS sclr_0 FROM appointment a0_ WHERE a0_.appointment_date >= ? AND a0_.appointment_date < ?
Parameters:
[
  "2026-02-11 00:00:00"
  "2026-02-12 00:00:00"
]
0.90 ms
(12.85%)
1
SELECT t0.id AS id_1, t0.brand AS brand_2, t0.model AS model_3, t0.year AS year_4, t0.license_plate AS license_plate_5, t0.registration_number AS registration_number_6, t0.vin AS vin_7, t0.mileage AS mileage_8, t0.fuel_type AS fuel_type_9, t0.color AS color_10, t0.notes AS notes_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.customer_id AS customer_id_14 FROM vehicle t0 WHERE t0.id = ?
Parameters:
[
  3
]
0.68 ms
(9.83%)
1
SELECT COUNT(*) FROM appointment t0
Parameters:
[]
0.61 ms
(8.81%)
1
SELECT COUNT(a0_.id) AS sclr_0 FROM appointment a0_ WHERE a0_.appointment_date > ?
Parameters:
[
  "2026-02-11 18:25:39"
]
0.59 ms
(8.49%)
1
SELECT COUNT(a0_.id) AS sclr_0 FROM appointment a0_ WHERE a0_.appointment_date < ?
Parameters:
[
  "2026-02-11 18:25:39"
]
0.50 ms
(7.12%)
1
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.email AS email_4, t0.phone AS phone_5, t0.address AS address_6, t0.city AS city_7, t0.postal_code AS postal_code_8, t0.nature AS nature_9, t0.notes AS notes_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  4
]
0.41 ms
(5.87%)
1
SELECT t0.id AS id_1, t0.garage AS garage_2, t0.currency AS currency_3, t0.date_format AS date_format_4, t0.time_format AS time_format_5, t0.notifications AS notifications_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.logo AS logo_9 FROM app_settings t0 LIMIT 1
Parameters:
[]

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 1
App\Entity\Customer 1
App\Entity\Vehicle 1
App\Entity\AppSettings 1

Entities Mapping

Class Mapping errors
App\Entity\Appointment No errors.
App\Entity\Customer No errors.
App\Entity\Vehicle No errors.
App\Entity\Mechanic No errors.
App\Entity\AppSettings No errors.
App\Entity\Repair
  • The field App\Entity\Repair#customerDelivery is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\CustomerDelivery#repair does not contain the required 'mappedBy: "customerDelivery"' attribute.
App\Entity\Invoice No errors.
App\Entity\Quote No errors.
App\Entity\VehiclePhoto No errors.
App\Entity\Diagnostic No errors.