GET https://eltest.derium.ru/exam/api/categories/by-topic?topic_id=2

Query Metrics

6 Database Queries
6 Different statements
11.26 ms Query time
2 Invalid entities
6 Managed entities

Grouped Statements

Show all queries

Time Count Info
3.11 ms
(27.57%)
1
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  11
]
2.56 ms
(22.76%)
1
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = ? ORDER BY u0_.id ASC
Parameters:
[
  11
]
1.86 ms
(16.53%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.description AS description_2, c0_.sort_order AS sort_order_3, c0_.topic_id AS topic_id_4 FROM category c0_ WHERE c0_.id IN (?) ORDER BY c0_.sort_order ASC, c0_.name ASC
Parameters:
[
  2
]
1.47 ms
(13.08%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = ?
Parameters:
[
  14
]
1.18 ms
(10.47%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = ?
Parameters:
[
  4
]
1.08 ms
(9.59%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = ?
Parameters:
[
  2
]

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\Entity\User 1
App\Entity\UserAccessGrant 1
App\Entity\Topic 1
App\Entity\Category 1
App\Entity\Subcategory 1
App\Entity\SectionGroup 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserAccessGrant No errors.
App\Entity\Topic No errors.
App\Entity\Category
  • The association App\Entity\Category#sections refers to the owning side field App\Entity\Section#category which does not exist.
App\Entity\Subcategory
  • The association App\Entity\Subcategory#category refers to the inverse side field App\Entity\Category#subcategories which does not exist.
  • The association App\Entity\Subcategory#sections refers to the owning side field App\Entity\Section#subcategory which does not exist.
App\Entity\SectionGroup No errors.
App\Entity\Section No errors.
App\Entity\Attempt No errors.