GET https://admin-symfony-review.kube-dev.ugol.click/work-parameter?page=1&sort%5BitemProps%5D=ASC

Query Metrics

49 Database Queries
6 Different statements
28.04 ms Query time
7 Invalid entities
67 Managed entities

Grouped Statements

Show all queries

Time Count Info
10.27 ms
(36.63%)
20
SELECT t0.prop_id AS prop_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5, t0.prop_type_id AS prop_type_id_6 FROM statement_props t0 INNER JOIN work_items_parameters_props ON t0.prop_id = work_items_parameters_props.prop_id WHERE work_items_parameters_props.work_item_parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
7.10 ms
(25.32%)
20
SELECT t0.work_id AS work_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.key AS key_4, t0.name AS name_5, t0.type_id AS type_id_6, t0.group_id AS group_id_7 FROM work_works t0 WHERE t0.work_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
5.83 ms
(20.80%)
1
SELECT DISTINCT w0_.work_item_parameter_id AS work_item_parameter_id_0, (SELECT COUNT(w1_.work_item_parameter_id) AS sclr_2 FROM work_items_parameters w1_ INNER JOIN work_items_parameters_props w3_ ON w1_.work_item_parameter_id = w3_.work_item_parameter_id INNER JOIN statement_props s2_ ON s2_.prop_id = w3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (w1_.work_item_parameter_id = w0_.work_item_parameter_id) AND (w1_.deleted_at IS NULL)) AS sclr_1, w0_.work_item_parameter_id AS work_item_parameter_id_3 FROM work_items_parameters w0_ LEFT JOIN work_items_parameters_props w5_ ON w0_.work_item_parameter_id = w5_.work_item_parameter_id LEFT JOIN statement_props s4_ ON s4_.prop_id = w5_.prop_id AND (s4_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL) ORDER BY sclr_1 ASC, w0_.work_item_parameter_id ASC LIMIT 20
Parameters:
[]
2.62 ms
(9.34%)
6
SELECT t0.parameter_id AS parameter_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.name AS name_4, t0.key AS key_5, t0.parameter_type_id AS parameter_type_id_6, t0.unit_id AS unit_id_7, t0.formula_id AS formula_id_8, t0.calculate_parameter_id AS calculate_parameter_id_9 FROM statement_parameters t0 WHERE t0.parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
1.74 ms
(6.22%)
1
SELECT w0_.work_item_parameter_id AS work_item_parameter_id_0, w0_.created_at AS created_at_1, w0_.deleted_at AS deleted_at_2, w0_.key AS key_3, (SELECT COUNT(w1_.work_item_parameter_id) AS sclr_5 FROM work_items_parameters w1_ INNER JOIN work_items_parameters_props w3_ ON w1_.work_item_parameter_id = w3_.work_item_parameter_id INNER JOIN statement_props s2_ ON s2_.prop_id = w3_.prop_id AND (s2_.deleted_at IS NULL) WHERE (w1_.work_item_parameter_id = w0_.work_item_parameter_id) AND (w1_.deleted_at IS NULL)) AS sclr_4, w0_.work_id AS work_id_6, w0_.item_parameter_id AS item_parameter_id_7, w0_.parameter_id AS parameter_id_8 FROM work_items_parameters w0_ LEFT JOIN work_items_parameters_props w5_ ON w0_.work_item_parameter_id = w5_.work_item_parameter_id LEFT JOIN statement_props s4_ ON s4_.prop_id = w5_.prop_id AND (s4_.deleted_at IS NULL) WHERE (w0_.work_item_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (w0_.deleted_at IS NULL) ORDER BY sclr_4 ASC, w0_.work_item_parameter_id ASC
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  8
  16
  17
  18
  19
  20
  21
  22
  23
  9
  10
  11
  12
]
0.47 ms
(1.69%)
1
SELECT count(DISTINCT w0_.work_item_parameter_id) AS sclr_0 FROM work_items_parameters w0_ LEFT JOIN work_items_parameters_props w2_ ON w0_.work_item_parameter_id = w2_.work_item_parameter_id LEFT JOIN statement_props s1_ ON s1_.prop_id = w2_.prop_id AND (s1_.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 20
Work\Entity\Work 20
Work\Entity\Group 9
Statement\Entity\Parameter 7
Statement\Entity\Formula 4
Shared\Entity\Unit 3
Statement\Entity\ParameterType 2
Statement\Entity\Prop 1
Statement\Entity\PropType 1

Entities Mapping

Class Mapping errors
Work\Entity\ItemParameter No errors.
Statement\Entity\Prop No 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.
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.
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\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.
Statement\Entity\ParameterType No errors.
Shared\Entity\Unit No errors.
Statement\Entity\Formula
  • The field Statement\Entity\Formula#parameters is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Statement\Entity\FormulaParameter#formula does not contain the required 'inversedBy: "parameters"' attribute.
Statement\Entity\PropType No errors.