https://deltainformatique.org/ECF/regime/index/4

Query Metrics

25 Database Queries
7 Different statements
3.67 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.05 ms
(28.64%)
10
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  1
]
0.98 ms
(26.76%)
10
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  1
]
0.62 ms
(16.82%)
1
SELECT t0.regime_id AS regime_id_1, t0.libelle AS libelle_2 FROM `regime` t0 WHERE t0.regime_id = ? LIMIT 1
Parameters:
[
  4
]
0.37 ms
(10.10%)
1
SELECT count(DISTINCT m0_.menu_id) AS sclr_0 FROM `menu` m0_
Parameters:
[]
0.31 ms
(8.46%)
1
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.regime_id = ?
Parameters:
[
  4
]
0.19 ms
(5.15%)
1
SELECT m0_.menu_id AS menu_id_0, m0_.titre AS titre_1, m0_.nombre_personne_minimum AS nombre_personne_minimum_2, m0_.prix_par_personne AS prix_par_personne_3, m0_.regime AS regime_4, m0_.description AS description_5, m0_.quantite_restante AS quantite_restante_6 FROM `menu` m0_ WHERE m0_.menu_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  14
  5
  15
  1
  4
  11
  9
  10
  13
  12
]
0.15 ms
(4.08%)
1
SELECT DISTINCT m0_.menu_id AS menu_id_0 FROM `menu` m0_ LIMIT 10
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.

Entities Mapping

Class Mapping errors
App\Entity\Regime
  • The field App\Entity\Regime#adaptes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Adapte#regime_id does not contain the required 'inversedBy: "adaptes"' attribute.
App\Entity\Adapte No errors.
App\Entity\Menu
  • The mappings App\Entity\Menu#proposeplat and App\Entity\ProposePlat#menu_id are inconsistent with each other.
  • The field App\Entity\Menu#proposetheme is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProposeTheme#menu_id does not contain the required 'inversedBy: "proposetheme"' attribute.
  • The field App\Entity\Menu#adapte is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Adapte#menu_id does not contain the required 'inversedBy: "adapte"' attribute.
App\Entity\ProposePlat
  • The association App\Entity\ProposePlat#menu_id refers to the inverse side field App\Entity\Menu#proposePlat which does not exist.
App\Entity\ProposeTheme No errors.
App\Entity\Theme
  • The field App\Entity\Theme#proposetheme is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProposeTheme#theme_id does not contain the required 'inversedBy: "proposetheme"' attribute.