GET https://master.tajsoft.tj/api/master/get/7?page=1

Query Metrics

5 Database Queries
5 Different statements
5.17 ms Query time
3 Invalid entities

Queries

Group similar statements

# Time Info
1 1.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.full_name AS full_name_3 FROM lang t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "ru"
]
2 0.88 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.img AS img_3, t0.parent_id AS parent_id_4, t0.is_deleted AS is_deleted_5, t0.parent_id AS parent_id_6 FROM category t0 WHERE t0.id = ?
Parameters:
[
  7
]
3 1.30 ms
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.surname AS surname_2, u0_.birthday AS birthday_3, u0_.gender AS gender_4, u0_.img AS img_5, u0_.phone_number AS phone_number_6, u0_.balance AS balance_7, u0_.work_experience AS work_experience_8, u0_.self AS self_9, u0_.role AS role_10, u0_.token AS token_11, u0_.latitude AS latitude_12, u0_.longitude AS longitude_13, u0_.push_token AS push_token_14, u0_.work_imgs AS work_imgs_15, u0_.city_name AS city_name_16, u0_.register_date AS register_date_17, u0_.ban_text AS ban_text_18, u0_.b AS b_19, u0_.city_id AS city_id_20, u0_.lang_id AS lang_id_21 FROM user u0_ INNER JOIN user_category u2_ ON u0_.id = u2_.user_id INNER JOIN category c1_ ON c1_.id = u2_.category_id WHERE c1_.id = ? AND u0_.role = ?
Parameters:
[
  7
  2
]
4 0.93 ms
SELECT count(DISTINCT u0_.id) AS sclr_0 FROM user u0_ INNER JOIN user_category u2_ ON u0_.id = u2_.user_id INNER JOIN category c1_ ON c1_.id = u2_.category_id WHERE c1_.id = ? AND u0_.role = ?
Parameters:
[
  7
  2
]
5 0.74 ms
SELECT DISTINCT u0_.id AS id_0 FROM user u0_ INNER JOIN user_category u2_ ON u0_.id = u2_.user_id INNER JOIN category c1_ ON c1_.id = u2_.category_id WHERE c1_.id = ? AND u0_.role = ? LIMIT 10
Parameters:
[
  7
  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.

Entities Mapping

Class Mapping errors
App\Entity\Lang
  • The mappings App\Entity\Lang#fAQTranslates and App\Entity\FAQTranslate#lang are inconsistent with each other.
App\Entity\CategoryTranslate No errors.
App\Entity\User
  • The association App\Entity\User#city refers to the inverse side field App\Entity\City#users which does not exist.
App\Entity\NotificationTranslate No errors.
App\Entity\FAQ No errors.
App\Entity\AboutUs No errors.
App\Entity\FAQTranslate No errors.
App\Entity\AboutUsTranslate No errors.
App\Entity\Category No errors.
App\Entity\Statistics No errors.
App\Entity\Orders No errors.
App\Entity\City
  • The mappings App\Entity\City#Users and App\Entity\User#city are inconsistent with each other.
  • The field App\Entity\City#cities is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\City#lang does not contain the required 'inversedBy="cities"' attribute.