https://deltainformatique.org/ECF/menu/index/15

Query Metrics

10 Database Queries
8 Different statements
4.87 ms Query time
5 Invalid entities

Queries

Group similar statements

# Time Info
1 0.94 ms
SELECT t0.menu_id AS menu_id_1, t0.titre AS titre_2, t0.nombre_personne_minimum AS nombre_personne_minimum_3, t0.prix_par_personne AS prix_par_personne_4, t0.regime AS regime_5, t0.description AS description_6, t0.quantite_restante AS quantite_restante_7, t8.menu_id AS menu_id_9, t8.theme_id AS theme_id_10, t11.menu_id AS menu_id_12, t11.regime_id AS regime_id_13 FROM `menu` t0 LEFT JOIN `proposetheme` t8 ON t8.menu_id = t0.menu_id LEFT JOIN `adapte` t11 ON t11.menu_id = t0.menu_id WHERE t0.menu_id = ? LIMIT 1
Parameters:
[
  15
]
2 0.44 ms
SELECT t0.menu_id AS menu_id_1, t0.plat_id AS plat_id_2 FROM `proposeplat` t0 WHERE t0.menu_id = ?
Parameters:
[
  15
]
3 0.63 ms
SELECT count(DISTINCT p0_.plat_id) AS sclr_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?)
Parameters:
[
  8
  13
  22
]
4 0.37 ms
SELECT DISTINCT p0_.plat_id AS plat_id_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?) LIMIT 10
Parameters:
[
  8
  13
  22
]
5 0.88 ms
SELECT p0_.plat_id AS plat_id_0, p0_.titre_plat AS titre_plat_1, p0_.photo AS photo_2 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?) AND p0_.plat_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  8
  13
  22
  1
  2
  3
  4
  5
  6
  7
  9
  10
  11
]
6 0.44 ms
SELECT t0.theme_id AS theme_id_1, t0.libelle AS libelle_2 FROM `theme` t0 WHERE t0.theme_id = ?
Parameters:
[
  1
]
7 0.23 ms
SELECT t0.regime_id AS regime_id_1, t0.libelle AS libelle_2 FROM `regime` t0 WHERE t0.regime_id = ?
Parameters:
[
  2
]
8 0.30 ms
SELECT t0.plat_id AS plat_id_1, t0.titre_plat AS titre_plat_2, t0.photo AS photo_3 FROM `plat` t0 WHERE t0.plat_id = ?
Parameters:
[
  8
]
9 0.17 ms
SELECT t0.plat_id AS plat_id_1, t0.titre_plat AS titre_plat_2, t0.photo AS photo_3 FROM `plat` t0 WHERE t0.plat_id = ?
Parameters:
[
  13
]
10 0.48 ms
SELECT t0.plat_id AS plat_id_1, t0.titre_plat AS titre_plat_2, t0.photo AS photo_3 FROM `plat` t0 WHERE t0.plat_id = ?
Parameters:
[
  22
]

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\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\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.
App\Entity\Adapte No 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\ProposePlat
  • The association App\Entity\ProposePlat#menu_id refers to the inverse side field App\Entity\Menu#proposePlat which does not exist.
App\Entity\Plat
  • The field App\Entity\Plat#proposeplat is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProposePlat#plat_id does not contain the required 'inversedBy: "proposeplat"' attribute.
  • The field App\Entity\Plat#contient is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Contient#plat_id does not contain the required 'inversedBy: "contient"' attribute.
App\Entity\Contient No errors.