GET http://api-kolobok.test.itlabs.top/admin/employee

Query Metrics

25 Database Queries
6 Different statements
7.87 ms Query time
3 Invalid entities
24 Managed entities

Queries

Group similar statements

# Time Info
1 0.48 ms
SELECT t0.username AS username_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.id AS id_5 FROM user_users t0 WHERE t0.id = ?
Parameters:
[
  "01KC11C91QNFJ8EHW0YJDP8TN0"
]
2 0.37 ms
SELECT DISTINCT e0_.id AS id_0 FROM employee e0_ LIMIT 20
Parameters:
[]
3 0.66 ms
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.photo AS photo_2, e0_.restaurant_roles AS restaurant_roles_3, e0_.phone_number AS phone_number_4, e0_.email AS email_5, e0_.keeper_id AS keeper_id_6, e0_.updated_at AS updated_at_7, e0_.created_at AS created_at_8 FROM employee e0_ WHERE e0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
]
4 0.36 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  1
]
5 0.38 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  2
]
6 0.37 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  3
]
7 0.31 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  4
]
8 0.30 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  5
]
9 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  6
]
10 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  7
]
11 0.29 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  8
]
12 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  9
]
13 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  10
]
14 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  11
]
15 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  12
]
16 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  13
]
17 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  14
]
18 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  15
]
19 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  16
]
20 0.28 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  17
]
21 0.29 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  18
]
22 0.26 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  19
]
23 0.25 ms
SELECT t0.id AS id_1, t0.chat_id AS chat_id_2, t0.first_name AS first_name_3, t0.employee_id AS employee_id_4 FROM chat t0 WHERE t0.employee_id = ?
Parameters:
[
  20
]
24 0.28 ms
SELECT count(*) AS sclr_0 FROM employee e0_
Parameters:
[]
25 0.44 ms
SELECT t0.id AS id_1, t0.login AS login_2, t0.password AS password_3, t0.server AS server_4, t0.port AS port_5, t0.sms_login AS sms_login_6, t0.sms_secret AS sms_secret_7, t0.object_id AS object_id_8, t0.keeper_token AS keeper_token_9, t0.tg_bot_token AS tg_bot_token_10, t0.admin_chat AS admin_chat_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13 FROM settings t0
Parameters:
[]

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\Employee\Domain\Entity\Employee 20
App\Settings\Domain\Entity\Settings 2
App\User\Domain\Entity\User 1
App\Integration\Telegram\Domain\Entity\Chat 1

Entities Mapping

Class Mapping errors
App\User\Domain\Entity\User No errors.
App\Employee\Domain\Entity\Employee
  • The field App\Employee\Domain\Entity\Employee#telegramChat is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Integration\Telegram\Domain\Entity\Chat#employee does not contain the required 'inversedBy: "telegramChat"' attribute.
App\Table\Domain\Entity\Table No errors.
App\Integration\Telegram\Domain\Entity\Chat No errors.
App\Settings\Domain\Entity\Settings
  • The mappings App\Settings\Domain\Entity\Settings#workTime and App\Settings\Domain\Entity\SettingsWorkTime#settings are inconsistent with each other.
App\Settings\Domain\Entity\SettingsWorkTime
  • The association App\Settings\Domain\Entity\SettingsWorkTime#settings refers to the inverse side field App\Settings\Domain\Entity\Settings#workTimes which does not exist.