GET https://cv.sonacos.ma/fr/vente/374201/ajout/semences

Query Metrics

11 Database Queries
7 Different statements
4.50 ms Query time
7 Invalid entities
162 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.21 ms
(49.11%)
5
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.type AS type_3, t0.espece_id AS espece_id_4 FROM produit t0 WHERE t0.espece_id = ?
Parameters:
[
  1
]
0.56 ms
(12.41%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.usercode AS usercode_5, t0.nom AS nom_6, t0.prenom AS prenom_7, t0.telephone AS telephone_8, t0.lastvisit AS lastvisit_9, t0.lastip AS lastip_10, t0.password_request AS password_request_11, t0.password_request_at AS password_request_at_12, t0.password_updated_at AS password_updated_at_13, t0.point_vente_id AS point_vente_id_14, t0.region_id AS region_id_15 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  314
]
0.55 ms
(12.21%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.status AS status_3, t0.total_clients AS total_clients_4, t0.user_id AS user_id_5, t0.point_vente_id AS point_vente_id_6, t0.region_id AS region_id_7 FROM declaration_vente t0 WHERE t0.status = ? AND t0.point_vente_id = ?
Parameters:
[
  -1
  529
]
0.33 ms
(7.25%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.status AS status_3, t0.total_clients AS total_clients_4, t0.user_id AS user_id_5, t0.point_vente_id AS point_vente_id_6, t0.region_id AS region_id_7 FROM declaration_vente t0 WHERE t0.id = ?
Parameters:
[
  "374201"
]
0.31 ms
(6.80%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.libelle AS libelle_4, t0.adresse AS adresse_5, t0.contrat AS contrat_6, t0.region_id AS region_id_7 FROM point_vente t0 WHERE t0.id = ?
Parameters:
[
  529
]
0.30 ms
(6.62%)
1
SELECT t0.id AS id_1, t0.nom AS nom_2 FROM espece t0
Parameters:
[]
0.25 ms
(5.60%)
1
SELECT e0_.id AS id_0, e0_.nom AS nom_1 FROM espece e0_
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\Produit 153
App\Entity\Espece 5
App\Entity\User 1
App\Entity\PointVente 1
App\Entity\Region 1
App\Entity\DeclarationVente 1

Entities Mapping

Class Mapping errors
App\Entity\User
  • The association App\Entity\User#pointVente refers to the inverse side field App\Entity\PointVente#user which does not exist.
  • The association App\Entity\User#region refers to the inverse side field App\Entity\Region#user which does not exist.
  • The mappings App\Entity\User#validatationsAnnulationVente and App\Entity\AnnulationVente#validatedBy are inconsistent with each other.
App\Entity\PointVente
  • The mappings App\Entity\PointVente#users and App\Entity\User#pointVente are inconsistent with each other.
App\Entity\Region
  • The mappings App\Entity\Region#users and App\Entity\User#region are inconsistent with each other.
App\Entity\DeclarationVente No errors.
App\Entity\DeclarationCommande No errors.
App\Entity\Vente
  • The association App\Entity\Vente#produit refers to the inverse side field App\Entity\Produit#ventes which does not exist.
App\Entity\Commande No errors.
App\Entity\AnnulationVente
  • The association App\Entity\AnnulationVente#validatedBy refers to the inverse side field App\Entity\User#validatationsAnnualtion which does not exist.
App\Entity\PasswordRequest No errors.
App\Entity\Prix No errors.
App\Entity\Affectation No errors.
App\Entity\DeclarationVenteHistorique
  • The association App\Entity\DeclarationVenteHistorique#user refers to the inverse side field App\Entity\User#decalarations which does not exist.
  • The association App\Entity\DeclarationVenteHistorique#ventes refers to the owning side field App\Entity\Vente#declarationVenteHistorique which does not exist.
  • The association App\Entity\DeclarationVenteHistorique#pointVente refers to the inverse side field App\Entity\PointVente#declarationVenteHistoriques which does not exist.
  • The association App\Entity\DeclarationVenteHistorique#region refers to the inverse side field App\Entity\Region#declarationVenteHistoriques which does not exist.
App\Entity\ProduitDemande
  • The association App\Entity\ProduitDemande#produit refers to the inverse side field App\Entity\Produit#demandes which does not exist.
App\Entity\Espece No errors.
App\Entity\Produit No errors.