https://deltainformatique.org/ECF/allergene/index/9

Query Metrics

13 Database Queries
6 Different statements
6.48 ms Query time
3 Invalid entities

Queries

Group similar statements

# Time Info
1 2.54 ms
SELECT t0.allergene_id AS allergene_id_1, t0.libelle AS libelle_2 FROM `allergene` t0 WHERE t0.allergene_id = ? LIMIT 1
Parameters:
[
  9
]
2 0.71 ms
SELECT t0.plat_id AS plat_id_1, t0.allergene_id AS allergene_id_2 FROM `contient` t0 WHERE t0.allergene_id = ?
Parameters:
[
  9
]
3 0.61 ms
SELECT count(DISTINCT p0_.plat_id) AS sclr_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  4
  5
  7
  10
  15
  16
  17
  20
]
4 0.32 ms
SELECT DISTINCT p0_.plat_id AS plat_id_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?, ?, ?, ?, ?, ?) LIMIT 10
Parameters:
[
  4
  5
  7
  10
  15
  16
  17
  20
]
5 0.54 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:
[
  4
  5
  7
  10
  15
  16
  17
  20
  1
  2
  3
  6
  8
  9
  11
  12
  13
  14
]
6 0.27 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:
[
  4
]
7 0.21 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:
[
  5
]
8 0.36 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:
[
  7
]
9 0.21 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:
[
  10
]
10 0.23 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:
[
  15
]
11 0.16 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:
[
  16
]
12 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:
[
  17
]
13 0.16 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:
[
  20
]

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