GET https://sodimico.cd/production/exportation/statistique/tableau?annee=2024&commodite=1

Query Metrics

5 Database Queries
5 Different statements
2.12 ms Query time
13 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.82 ms
(38.67%)
1
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.color AS color_3, t0.unite AS unite_4, t0.symbole_chimique AS symbole_chimique_5, t0.max AS max_6, t0.maxim AS maxim_7, t0.amount AS amount_8, t0.min_annuel AS min_annuel_9, t0.max_annuel AS max_annuel_10, t0.amout_annuel AS amout_annuel_11, t0.max_semestre AS max_semestre_12, t0.amount_semestre AS amount_semestre_13, t0.min_trimestre AS min_trimestre_14, t0.max_trimestre AS max_trimestre_15, t0.amount_trimestre AS amount_trimestre_16, t0.min_semetre AS min_semetre_17, t0.id_dw AS id_dw_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.deleted_at AS deleted_at_21, t0.user_id AS user_id_22 FROM commodite t0
Parameters:
[]
0.44 ms
(20.62%)
1
SELECT SUM(e0_.quantite) AS sclr_0, SUBSTRING(e0_.date_exportation FROM 6 FOR 2) AS sclr_1 FROM exportation e0_ WHERE (e0_.date_exportation BETWEEN ? AND ?) AND e0_.is_publish = 1 AND e0_.commodite_id = ? GROUP BY sclr_1 ORDER BY sclr_1 ASC
Parameters:
[
  "2024-01-01 00:00:00"
  "2024-12-31 23:59:00"
  1
]
0.31 ms
(14.50%)
1
SELECT SUM(e0_.quantite) AS sclr_0, p1_.libelle AS libelle_1 FROM exportation e0_ INNER JOIN pays p1_ ON e0_.pays_id = p1_.id WHERE (e0_.date_exportation BETWEEN ? AND ?) AND e0_.is_publish = 1 AND e0_.commodite_id = ? GROUP BY p1_.libelle ORDER BY libelle_1 ASC
Parameters:
[
  "2024-01-01 00:00:00"
  "2024-12-31 23:59:00"
  1
]
0.29 ms
(13.55%)
1
SELECT SUM(e0_.quantite) AS sclr_0, SUBSTRING(e0_.date_exportation FROM 1 FOR 4) AS sclr_1 FROM exportation e0_ WHERE e0_.is_publish = 1 AND e0_.commodite_id = ? GROUP BY sclr_1 ORDER BY sclr_1 ASC
Parameters:
[
  1
]
0.27 ms
(12.66%)
1
SELECT SUM(e0_.quantite) AS sclr_0, p1_.libelle AS libelle_1 FROM exportation e0_ INNER JOIN pays p1_ ON e0_.pays_id = p1_.id WHERE e0_.is_publish = 1 AND e0_.commodite_id = ? GROUP BY p1_.libelle ORDER BY libelle_1 ASC
Parameters:
[
  1
]

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.

Entities Mapping

Class Mapping errors
App\Entity\Transparence\Commodite
  • The field App\Entity\Transparence\Commodite#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Transparence\Commodite#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\User
  • The field App\Entity\User#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\User#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Production\Production
  • The field App\Entity\Production\Production#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Production\Production#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Production\Exportation
  • The field 'App\Entity\Production\Exportation#quantite' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The association App\Entity\Production\Exportation#pays refers to the inverse side field App\Entity\Transparence\Pays#exportations which does not exist.
  • The field App\Entity\Production\Exportation#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Production\Exportation#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Production\VenteLocal
  • The field 'App\Entity\Production\VenteLocal#quantite' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
  • The field App\Entity\Production\VenteLocal#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Production\VenteLocal#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Transparence\ContratPrincipal
  • The field App\Entity\Transparence\ContratPrincipal#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Transparence\ContratPrincipal#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Transparence\ContratRelatif
  • The field App\Entity\Transparence\ContratRelatif#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Transparence\ContratRelatif#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Transparence\Province
  • The field App\Entity\Transparence\Province#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Transparence\Province#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Activite\Ressource
  • The field App\Entity\Activite\Ressource#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Activite\Ressource#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Activite\Reserve
  • The field App\Entity\Activite\Reserve#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Activite\Reserve#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Autres\TeneurCommodite
  • The field App\Entity\Autres\TeneurCommodite#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Autres\TeneurCommodite#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Activite\Projet
  • The field App\Entity\Activite\Projet#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Activite\Projet#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.
App\Entity\Transparence\Pays
  • The field App\Entity\Transparence\Pays#user is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\User#user does not contain the required 'mappedBy="user"' attribute.
  • If association App\Entity\Transparence\Pays#user is many-to-one, then the inversed side App\Entity\User#user has to be one-to-many.