GET https://admin-auto-schule.ru/api/users/5

Query Metrics

5 Database Queries
5 Different statements
3.14 ms Query time
2 Invalid entities
2 Managed entities

Queries

Group similar statements

# Time Info
1 0.58 ms
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.surname AS surname_2, u0_.patronym AS patronym_3, u0_.phone AS phone_4, u0_.email AS email_5, u0_.telegram_id AS telegram_id_6, u0_.date_of_birth AS date_of_birth_7, u0_.contract AS contract_8, u0_.exam_status AS exam_status_9, u0_.license AS license_10, u0_.experience AS experience_11, u0_.hire_date AS hire_date_12, u0_.enroll_date AS enroll_date_13, u0_.roles AS roles_14, u0_.is_active AS is_active_15, u0_.is_approved AS is_approved_16, u0_.message AS message_17, u0_.about_me AS about_me_18, u0_.balance AS balance_19, u0_.image AS image_20, u0_.password AS password_21, u0_.updated_at AS updated_at_22, u0_.created_at AS created_at_23, u0_.exam_id AS exam_id_24, u0_.car_id AS car_id_25, u0_.category_id AS category_id_26 FROM user u0_ WHERE u0_.id = ?
Parameters:
[
  5
]
2 0.51 ms
SELECT t0.id AS id_1, t0.time_from AS time_from_2, t0.time_to AS time_to_3, t0.days_of_week AS days_of_week_4, t0.notice AS notice_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.autodrome_id AS autodrome_id_8, t0.category_id AS category_id_9, t0.instructor_id AS instructor_id_10 FROM drive_schedule t0 WHERE t0.instructor_id = ?
Parameters:
[
  5
]
3 0.90 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.type AS type_5, t0.updated_at AS updated_at_6, t0.created_at AS created_at_7, t0.publisher_id AS publisher_id_8, t0.course_id AS course_id_9, t0.representative_figure_id AS representative_figure_id_10 FROM review t0 WHERE t0.publisher_id = ?
Parameters:
[
  5
]
4 0.68 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.updated_at AS updated_at_4, t0.created_at AS created_at_5, t0.category_id AS category_id_6 FROM course t0 INNER JOIN user_course ON t0.id = user_course.course_id WHERE user_course.user_id = ?
Parameters:
[
  5
]
5 0.47 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.master_title AS master_title_3, t0.description AS description_4, t0.price AS price_5, t0.type AS type_6, t0.updated_at AS updated_at_7, t0.created_at AS created_at_8, t0.category_id AS category_id_9 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\Category 1

Entities Mapping

Class Mapping errors
App\Entity\User
  • The field 'App\Entity\User#balance' has the property type 'float' that differs from the metadata field type 'string' returned by the 'text' DBAL type.
App\Entity\Exam No errors.
App\Entity\Car No errors.
App\Entity\Category No errors.
App\Entity\TeacherLesson
  • The field App\Entity\TeacherLesson#studentProgresses is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\StudentLessonProgress#lesson does not contain the required 'inversedBy="studentProgresses"' attribute.
App\Entity\InstructorLesson No errors.
App\Entity\Review No errors.
App\Entity\Course No errors.
App\Entity\StudentLessonProgress No errors.
App\Entity\StudentQuizProgress No errors.
App\Entity\DriveSchedule No errors.
App\Entity\Autodrome No errors.
App\Entity\Transaction No errors.