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

Queries

Group similar statements

# Time Info
1 0.56 ms
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
]
2 0.33 ms
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"
]
3 0.55 ms
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
]
4 0.30 ms
SELECT t0.id AS id_1, t0.nom AS nom_2 FROM espece t0
Parameters:
[]
5 0.58 ms
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
]
6 0.46 ms
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:
[
  2
]
7 0.35 ms
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:
[
  3
]
8 0.40 ms
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:
[
  4
]
9 0.42 ms
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:
[
  5
]
10 0.25 ms
SELECT e0_.id AS id_0, e0_.nom AS nom_1 FROM espece e0_
Parameters:
[]
11 0.31 ms
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
]

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.