GET https://compta.eschenlauer.fr/api/menu/161

Query Metrics

12 Database Queries
7 Different statements
6.20 ms Query time
0 Invalid entities
6 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.49 ms
(40.07%)
2
WITH RECURSIVE ancestors AS (
                SELECT id, parent_id, name, path, slug, label, position, target,
                    lockable, roles_acl, roles_menu, displayable, positionabsolute, actif
                FROM menu
                WHERE id = ?

                UNION ALL
                SELECT m.id, m.parent_id, m.name, m.path, m.slug, m.label, m.position, m.target,
                    m.lockable, m.roles_acl, m.roles_menu, m.displayable, m.positionabsolute, m.actif
                FROM menu m
                INNER JOIN ancestors a ON a.parent_id = m.id
            )
            SELECT *
            FROM ancestors
            ORDER BY parent_id IS NOT NULL ASC
            LIMIT 1;
Parameters:
[
  161
]
1.24 ms
(19.99%)
1
WITH RECURSIVE hierarchy AS (
                SELECT 
                    id, parent_id, name, path, slug, label, position, target,
                    lockable, roles_acl, roles_menu, displayable, positionabsolute, actif
                FROM menu
                WHERE id = ?

                UNION ALL

                SELECT 
                    m.id, m.parent_id, m.name, m.path, m.slug, m.label, m.position, m.target,
                    m.lockable, m.roles_acl, m.roles_menu, m.displayable, m.positionabsolute, m.actif
                FROM menu m
                INNER JOIN hierarchy h ON m.parent_id = h.id
            )
            SELECT *
            FROM hierarchy
            WHERE displayable = 1
            ORDER BY position ASC;
Parameters:
[
  150
]
1.10 ms
(17.68%)
5
SELECT t0.`key` AS key_1, t0.value AS value_2, t0.`group` AS group_3, t0.type AS type_4, t0.comment AS comment_5 FROM `configuration` t0 WHERE t0.`key` = ? LIMIT 1
Parameters:
[
  "isAclDisplaySynced"
]
0.44 ms
(7.09%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.path AS path_3, t0.slug AS slug_4, t0.label AS label_5, t0.position AS position_6, t0.target AS target_7, t0.lockable AS lockable_8, t0.menu_item AS menu_item_9, t0.roles_acl AS roles_acl_10, t0.roles_menu AS roles_menu_11, t0.displayable AS displayable_12, t0.positionabsolute AS positionabsolute_13, t0.actif AS actif_14, t0.allow_writing AS allow_writing_15, t0.allow_deleting AS allow_deleting_16, t0.allow_validating AS allow_validating_17, t0.parent_id AS parent_id_18 FROM menu t0 WHERE t0.path = ? AND t0.actif = ? LIMIT 1
Parameters:
[
  "api_menu"
  1
]
0.38 ms
(6.14%)
1
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.mail AS mail_7, t0.is_verified AS is_verified_8, t0.failed_login_count AS failed_login_count_9, t0.last_failed_login_at AS last_failed_login_at_10, t0.last_login_at AS last_login_at_11, t0.is_validated AS is_validated_12, t0.token AS token_13 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  3
]
0.28 ms
(4.55%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.path AS path_3, t0.slug AS slug_4, t0.label AS label_5, t0.position AS position_6, t0.target AS target_7, t0.lockable AS lockable_8, t0.menu_item AS menu_item_9, t0.roles_acl AS roles_acl_10, t0.roles_menu AS roles_menu_11, t0.displayable AS displayable_12, t0.positionabsolute AS positionabsolute_13, t0.actif AS actif_14, t0.allow_writing AS allow_writing_15, t0.allow_deleting AS allow_deleting_16, t0.allow_validating AS allow_validating_17, t0.parent_id AS parent_id_18 FROM menu t0 WHERE t0.id = ?
Parameters:
[
  "161"
]
0.28 ms
(4.48%)
1
SELECT t0.id AS id_1, t0.year AS year_2, t0.datestart AS datestart_3, t0.dateend AS dateend_4, t0.comment AS comment_5, t0.statut_close AS statut_close_6, t0.statut_lock AS statut_lock_7, t0.locked_at AS locked_at_8, t0.closed_at AS closed_at_9 FROM accounting_year t0 WHERE t0.id = ?
Parameters:
[
  3
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Domain\Menu\Entity\Menu 3
App\Domain\User\Entity\User 1
App\Domain\AccountingYear\Entity\AccountingYear 1
App\Domain\SiteConfiguration\Entity\SiteConfiguration 1