GET https://nutrizaza.dev/api/products

Query Metrics

3 Database Queries
3 Different statements
1.85 ms Query time
1 Invalid entities
25 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.70 ms
(37.76%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom_prenom AS nom_prenom_5, t0.created_at AS created_at_6, t0.is_enabled AS is_enabled_7, t0.zone AS zone_8, t0.last_activity_at AS last_activity_at_9, t0.total_commandes_value AS total_commandes_value_10, t0.total_stock_value AS total_stock_value_11, t0.paiement_left AS paiement_left_12, t0.has_device AS has_device_13, t0.is_admin AS is_admin_14, t0.phone_number AS phone_number_15, t0.last_livraison_at AS last_livraison_at_16, t0.code_collaborateur AS code_collaborateur_17, t0.last_update_at AS last_update_at_18, t0.adresse AS adresse_19, t0.total_commission AS total_commission_20, t0.total_survente AS total_survente_21, t0.initial_command_value AS initial_command_value_22, t0.category_name AS category_name_23, t0.utilisateur_role_id AS utilisateur_role_id_24 FROM utilisateur t0 WHERE t0.username = ? LIMIT 1
Parameters:
[
  "CCL00631"
]
0.61 ms
(33.01%)
1
SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.designation AS designation_2, p0_.description AS description_3, p0_.unit AS unit_4, p0_.price AS price_5, p0_.filename AS filename_6, p0_.color AS color_7, p0_.survente AS survente_8, p0_.is_enabled AS is_enabled_9, p0_.code_barre AS code_barre_10, p0_.price_ht AS price_ht_11, p0_.last_update_at AS last_update_at_12 FROM product p0_ ORDER BY p0_.id ASC LIMIT 30
Parameters:
[]
0.54 ms
(29.23%)
1
SELECT count(*) AS sclr_0 FROM product p0_
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\Product 23
App\Entity\Utilisateur 1
App\Entity\UtilisateurRole 1

Entities Mapping

Class Mapping errors
Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken No errors.
App\Entity\RefreshToken No errors.
App\Entity\Utilisateur No errors.
App\Entity\UtilisateurRole No errors.
App\Entity\Session No errors.
App\Entity\PointOfSale No errors.
App\Entity\StockCommercial No errors.
App\Entity\Livraison No errors.
App\Entity\Commande No errors.
App\Entity\MiscellaneousStock No errors.
App\Entity\StockMouvement No errors.
App\Entity\MiscellaneousMouvement No errors.
App\Entity\Ajustement No errors.
App\Entity\Retour No errors.
App\Entity\Paiement No errors.
App\Entity\TrackingDevice No errors.
App\Entity\Zone No errors.
App\Entity\ImportHistory
  • The mappings App\Entity\ImportHistory#createdBy and App\Entity\Utilisateur#importHistories are inconsistent with each other.
  • If association App\Entity\ImportHistory#createdBy is many-to-one, then the inversed side App\Entity\Utilisateur#importHistories has to be one-to-many.
App\Entity\MiscellaneousLivraison No errors.
App\Entity\Product No errors.