Query Metrics
8
Database Queries
6
Different statements
2.89 ms
Query time
3
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.92 ms (31.88%) |
3 |
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:
[
2
]
|
|
0.64 ms (22.03%) |
1 |
SELECT t0.allergene_id AS allergene_id_1, t0.libelle AS libelle_2 FROM `allergene` t0 WHERE t0.allergene_id = ? LIMIT 1
Parameters:
[
6
]
|
|
0.58 ms (19.95%) |
1 |
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:
[ 2 3 18 1 4 5 6 7 8 9 10 11 12 ] |
|
0.38 ms (12.97%) |
1 |
SELECT count(DISTINCT p0_.plat_id) AS sclr_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?)
Parameters:
[ 2 3 18 ] |
|
0.22 ms (7.50%) |
1 |
SELECT t0.plat_id AS plat_id_1, t0.allergene_id AS allergene_id_2 FROM `contient` t0 WHERE t0.allergene_id = ?
Parameters:
[
6
]
|
|
0.16 ms (5.67%) |
1 |
SELECT DISTINCT p0_.plat_id AS plat_id_0 FROM `plat` p0_ WHERE p0_.plat_id NOT IN (?, ?, ?) LIMIT 10
Parameters:
[ 2 3 18 ] |
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 |
|
| App\Entity\Contient | No errors. |
| App\Entity\Plat |
|
| App\Entity\ProposePlat |
|