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

Query Metrics

8 Database Queries
7 Different statements
11.75 ms Query time
1 Invalid entities
5 Managed entities

Queries

Group similar statements

# Time Info
1 4.08 ms
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM customer c0_
Parameters:
[]
2 1.16 ms
SELECT DISTINCT c0_.id AS id_0, c0_.id AS id_1 FROM customer c0_ ORDER BY c0_.id DESC LIMIT 12
Parameters:
[]
3 0.90 ms
SELECT c0_.id AS id_0, c0_.first_name AS first_name_1, c0_.last_name AS last_name_2, c0_.email AS email_3, c0_.phone AS phone_4, c0_.address AS address_5, c0_.city AS city_6, c0_.postal_code AS postal_code_7, c0_.nature AS nature_8, c0_.notes AS notes_9, c0_.created_at AS created_at_10, c0_.updated_at AS updated_at_11 FROM customer c0_ WHERE c0_.id IN (?, ?) ORDER BY c0_.id DESC
Parameters:
[
  5
  4
]
4 1.47 ms
SELECT DISTINCT c0_.nature AS nature_0 FROM customer c0_ WHERE c0_.nature IS NOT NULL ORDER BY c0_.nature ASC
Parameters:
[]
5 1.36 ms
SELECT DISTINCT c0_.city AS city_0 FROM customer c0_ WHERE c0_.city IS NOT NULL ORDER BY c0_.city ASC
Parameters:
[]
6 0.69 ms
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:
[]
7 1.10 ms
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.customer_id = ?
Parameters:
[
  5
]
8 0.99 ms
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.customer_id = ?
Parameters:
[
  4
]

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

Entities Mapping

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