GET https://admin-symfony-review.kube-dev.ugol.click/work?page=2&sort%5Bprices%5D=DESC

Query Metrics

33 Database Queries
6 Different statements
15.18 ms Query time
7 Invalid entities
41 Managed entities

Grouped Statements

Show all queries

Time Count Info
6.11 ms
(40.29%)
1
SELECT DISTINCT w0_.work_id AS work_id_0, (SELECT COUNT(w1_.price_id) AS sclr_2 FROM work_prices w1_ WHERE (w1_.work_id = w0_.work_id) AND (w1_.deleted_at IS NULL)) AS sclr_1, w0_.work_id AS work_id_3 FROM work_works w0_ LEFT JOIN work_prices w2_ ON w0_.work_id = w2_.work_id AND (w2_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL) ORDER BY sclr_1 DESC, w0_.work_id DESC LIMIT 20 OFFSET 20
Parameters:
[]
2.89 ms
(19.05%)
10
SELECT t0.work_item_parameter_id AS work_item_parameter_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.key AS key_4, t0.work_id AS work_id_5, t0.item_parameter_id AS item_parameter_id_6, t0.parameter_id AS parameter_id_7 FROM work_items_parameters t0 WHERE t0.work_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  10
]
2.80 ms
(18.44%)
10
SELECT t0.work_material_id AS work_material_id_1, t0.count AS count_2, t0.created_at AS created_at_3, t0.deleted_at AS deleted_at_4, t0.work_id AS work_id_5, t0.material_id AS material_id_6 FROM work_works_materials t0 WHERE t0.work_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  10
]
2.35 ms
(15.49%)
10
SELECT t0.price_id AS price_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.key AS key_4, t0.price AS price_5, t0.current AS current_6, t0.work_id AS work_id_7 FROM work_prices t0 WHERE t0.work_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  10
]
0.64 ms
(4.23%)
1
SELECT w0_.work_id AS work_id_0, w0_.created_at AS created_at_1, w0_.deleted_at AS deleted_at_2, w0_.key AS key_3, w0_.name AS name_4, (SELECT COUNT(w1_.price_id) AS sclr_6 FROM work_prices w1_ WHERE (w1_.work_id = w0_.work_id) AND (w1_.deleted_at IS NULL)) AS sclr_5, w0_.type_id AS type_id_7, w0_.group_id AS group_id_8 FROM work_works w0_ LEFT JOIN work_prices w2_ ON w0_.work_id = w2_.work_id AND (w2_.deleted_at IS NULL) WHERE (w0_.work_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (w0_.deleted_at IS NULL) ORDER BY sclr_5 DESC, w0_.work_id DESC
Parameters:
[
  10
  9
  8
  7
  6
  5
  4
  3
  2
  1
]
0.38 ms
(2.50%)
1
SELECT count(DISTINCT w0_.work_id) AS sclr_0 FROM work_works w0_ LEFT JOIN work_prices w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL)
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
Work\Entity\ItemParameter 11
Work\Entity\Work 10
Work\Entity\Price 10
Work\Entity\Group 4
Statement\Entity\Parameter 4
Work\Entity\WorkMaterial 1
Material\Entity\Material 1

Entities Mapping

Class Mapping errors
Work\Entity\Work
  • The field Work\Entity\Work#parameters is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Work\Entity\ItemParameter#work does not contain the required 'inversedBy: "parameters"' attribute.
  • The field Work\Entity\Work#prices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Work\Entity\Price#work does not contain the required 'inversedBy: "prices"' attribute.
Work\Entity\Price
  • The field 'Work\Entity\Price#price' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
Work\Entity\Type No errors.
Work\Entity\GroupTree No errors.
Work\Entity\Group
  • The field Work\Entity\Group#works is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Work\Entity\Work#group does not contain the required 'inversedBy: "works"' attribute.
Work\Entity\WorkMaterial
  • The field 'Work\Entity\WorkMaterial#count' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.
Work\Entity\ItemParameter No errors.
Statement\Entity\ItemParameter
  • The mappings Statement\Entity\ItemParameter#parameter and Statement\Entity\Parameter#items are inconsistent with each other.
  • The association Statement\Entity\ItemParameter#values refers to the owning side field Statement\Entity\ItemParameterValue#itemParametr which does not exist.
Statement\Entity\Parameter
  • The association Statement\Entity\Parameter#type refers to the inverse side field Statement\Entity\ParameterType#parameters which does not exist.
  • The association Statement\Entity\Parameter#items refers to the owning side field Statement\Entity\ItemParameter#parametr which does not exist.
  • The association Statement\Entity\Parameter#workParameters refers to the owning side field Work\Entity\ItemParameter#parametr which does not exist.
Statement\Entity\Prop No errors.
Material\Entity\Material
  • The field Material\Entity\Material#prices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Material\Entity\Price#material does not contain the required 'inversedBy: "prices"' attribute.