GET https://2025-mu.release.sb.paritet.sprintf.ru/product_category

Query Metrics

12 Database Queries
6 Different statements
9.02 ms Query time
2 Invalid entities
24 Managed entities

Grouped Statements

Show all queries

Time Count Info
3.15 ms
(34.86%)
1
SELECT DISTINCT id_1, MIN(sclr_2) AS dctrn_minrownum FROM (SELECT p0_.updated_at AS updated_at_0, p0_.id AS id_1, ROW_NUMBER() OVER(ORDER BY p0_.project_id ASC) AS sclr_2 FROM project_category_products p0_) dctrn_result GROUP BY id_1 ORDER BY dctrn_minrownum ASC LIMIT 25
Parameters:
[]
2.09 ms
(23.18%)
1
SELECT p0_.domain AS domain_0, p0_.name AS name_1, p0_.api_key AS api_key_2, p0_.updated_at AS updated_at_3, p0_.id AS id_4, p0_.deleted_at AS deleted_at_5, p0_.legal_id AS legal_id_6, p0_.city_id AS city_id_7 FROM projects p0_ WHERE (p0_.deleted_at IS NULL)
Parameters:
[]
1.58 ms
(17.56%)
7
SELECT t0.name AS name_1, t0.updated_at AS updated_at_2, t0.id AS id_3, t0.deleted_at AS deleted_at_4, t0.product_type_id AS product_type_id_5, t0.brand_id AS brand_id_6 FROM products t0 WHERE t0.id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  "1df45d75-bf6a-458a-86bb-aab2d770c9d7"
]
1.26 ms
(13.99%)
1
SELECT t0.lft AS lft_1, t0.rgt AS rgt_2, t0.lvl AS lvl_3, t0.name AS name_4, t0.slug AS slug_5, t0.id AS id_6, t0.prt AS prt_7, t0.project_id AS project_id_8, t0.tree_root AS tree_root_9 FROM categories_all t0 WHERE t0.id = ?
Parameters:
[
  "1f0adb7f-5768-6516-bf71-278e933446f6"
]
0.63 ms
(6.98%)
1
SELECT p0_.updated_at AS updated_at_0, p0_.id AS id_1, p0_.project_id AS project_id_2, p0_.product_category_id AS product_category_id_3, p0_.product_id AS product_id_4 FROM project_category_products p0_ WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.project_id ASC
Parameters:
[
  "b4d6306f-d615-40cd-8721-349bcba26501"
  "73d84181-f937-4d9e-8322-bef078fea425"
  "2e0e91e5-5056-4da3-92e3-4c93cc9a7bd6"
  "2bc9c00d-e3e7-41eb-9600-4c1e6fe8ae25"
  "53f77aa2-1c14-43b5-ae2a-d6f22b2382a0"
  "0a7d84bf-f1a8-4a75-a6c5-a3c7c3d7c378"
  "f7256f48-764c-48c1-9986-3cb482ab2b6f"
]
0.31 ms
(3.42%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_1 FROM (SELECT p0_.updated_at AS updated_at_0, p0_.id AS id_1 FROM project_category_products p0_ ORDER BY p0_.project_id ASC) dctrn_result) dctrn_table
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\ProductCategory\Entity\ProductProjectCategory 7
App\Offer\Entity\Product 7
App\Brand\Entity\Brand 4
App\Project\Entity\Project 3
App\ProductCategory\Entity\ProductCategory 2
App\ProductType\Entity\ProductType 1

Entities Mapping

Class Mapping errors
App\Project\Entity\Project
  • The field App\Project\Entity\Project#subProjects is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Project\Entity\Subproject#project does not contain the required 'inversedBy="subProjects"' attribute.
App\Legal\Entity\Legal No errors.
App\Geo\Entity\City No errors.
App\Project\Entity\Subproject No errors.
App\ProductCategory\Entity\ProductProjectCategory No errors.
App\ProductCategory\Entity\ProductCategory
  • The field App\ProductCategory\Entity\ProductCategory#rules is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\ProductCategory\Entity\ProductCategoryRule#productCategory does not contain the required 'inversedBy="rules"' attribute.
App\Offer\Entity\Product No errors.
App\ProductCategory\Entity\ProductCategoryRule No errors.
App\ProductType\Entity\ProductType No errors.
App\Brand\Entity\Brand No errors.