Query Metrics

23 Database Queries
5 Different statements
5.16 ms Query time
4 Invalid entities

Queries

Group similar statements

# Time Info
1 1.04 ms
SELECT count(DISTINCT m0_.menu_id) AS sclr_0 FROM `menu` m0_
Parameters:
[]
2 0.43 ms
SELECT DISTINCT m0_.menu_id AS menu_id_0, m0_.regime AS regime_1 FROM `menu` m0_ ORDER BY m0_.regime ASC LIMIT 10
Parameters:
[]
3 0.34 ms
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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY m0_.regime ASC
Parameters:
[
  1
  4
  5
  6
  7
  8
  9
  10
  11
  12
]
4 0.32 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  1
]
5 0.28 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  1
]
6 0.39 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  4
]
7 0.39 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  4
]
8 0.21 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  5
]
9 0.15 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  5
]
10 0.16 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  6
]
11 0.15 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  6
]
12 0.13 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  7
]
13 0.15 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  7
]
14 0.13 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  8
]
15 0.09 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  8
]
16 0.10 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  9
]
17 0.13 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  9
]
18 0.10 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  10
]
19 0.08 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  10
]
20 0.10 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  11
]
21 0.12 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  11
]
22 0.10 ms
SELECT t0.menu_id AS menu_id_1, t0.theme_id AS theme_id_2 FROM `proposetheme` t0 WHERE t0.menu_id = ?
Parameters:
[
  12
]
23 0.08 ms
SELECT t0.menu_id AS menu_id_1, t0.regime_id AS regime_id_2 FROM `adapte` t0 WHERE t0.menu_id = ?
Parameters:
[
  12
]

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\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.
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.