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

Query Metrics

10 Database Queries
9 Different statements
10.52 ms Query time
1 Invalid entities
5 Managed entities

Grouped Statements

Show all queries

Time Count Info
3.58 ms
(34.09%)
2
SELECT t0.id AS id_1, t0.image_name AS image_name_2, t0.image_size AS image_size_3, t0.category AS category_4, t0.description AS description_5, t0.capture_date AS capture_date_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.vehicle_id AS vehicle_id_9, t0.repair_id AS repair_id_10, t0.diagnostic_id AS diagnostic_id_11 FROM vehicle_photo t0 WHERE t0.vehicle_id = ?
Parameters:
[
  4
]
2.07 ms
(19.71%)
1
SELECT count(DISTINCT v0_.id) AS sclr_0 FROM vehicle v0_ LEFT JOIN customer c1_ ON v0_.customer_id = c1_.id
Parameters:
[]
1.09 ms
(10.37%)
1
SELECT DISTINCT v0_.brand AS brand_0 FROM vehicle v0_ WHERE v0_.brand IS NOT NULL ORDER BY v0_.brand ASC
Parameters:
[]
0.84 ms
(8.03%)
1
SELECT v0_.id AS id_0, v0_.brand AS brand_1, v0_.model AS model_2, v0_.year AS year_3, v0_.license_plate AS license_plate_4, v0_.registration_number AS registration_number_5, v0_.vin AS vin_6, v0_.mileage AS mileage_7, v0_.fuel_type AS fuel_type_8, v0_.color AS color_9, v0_.notes AS notes_10, v0_.created_at AS created_at_11, v0_.updated_at AS updated_at_12, v0_.customer_id AS customer_id_13 FROM vehicle v0_ LEFT JOIN customer c1_ ON v0_.customer_id = c1_.id WHERE v0_.id IN (?, ?) ORDER BY v0_.id DESC
Parameters:
[
  4
  3
]
0.80 ms
(7.56%)
1
SELECT DISTINCT v0_.id AS id_0, v0_.id AS id_1 FROM vehicle v0_ LEFT JOIN customer c1_ ON v0_.customer_id = c1_.id ORDER BY v0_.id DESC LIMIT 12
Parameters:
[]
0.63 ms
(5.97%)
1
SELECT DISTINCT v0_.year AS year_0 FROM vehicle v0_ WHERE v0_.year IS NOT NULL ORDER BY v0_.year DESC
Parameters:
[]
0.53 ms
(5.06%)
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
Parameters:
[]
0.49 ms
(4.65%)
1
SELECT DISTINCT v0_.fuel_type AS fuel_type_0 FROM vehicle v0_ WHERE v0_.fuel_type IS NOT NULL ORDER BY v0_.fuel_type ASC
Parameters:
[]
0.48 ms
(4.55%)
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\Vehicle 2
App\Entity\Customer 2
App\Entity\AppSettings 1

Entities Mapping

Class Mapping errors
App\Entity\Vehicle No errors.
App\Entity\Customer No errors.
App\Entity\VehiclePhoto 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\Appointment No errors.
App\Entity\Diagnostic No errors.
App\Entity\Invoice No errors.
App\Entity\Quote No errors.
App\Entity\AppSettings No errors.