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

Query Metrics

45 Database Queries
6 Different statements
29.03 ms Query time
7 Invalid entities
61 Managed entities

Grouped Statements

Show all queries

Time Count Info
14.25 ms
(49.08%)
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
]
6.85 ms
(23.59%)
17
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
]
3.45 ms
(11.90%)
1
SELECT DISTINCT w0_.work_item_parameter_id AS work_item_parameter_id_0, w0_.work_id AS sclr_1 FROM work_items_parameters w0_ LEFT JOIN work_works w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL) ORDER BY w0_.work_id ASC LIMIT 20
Parameters:
[]
3.08 ms
(10.60%)
5
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
]
0.72 ms
(2.47%)
1
SELECT count(DISTINCT w0_.work_item_parameter_id) AS sclr_0 FROM work_items_parameters w0_ LEFT JOIN work_works w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL)
Parameters:
[]
0.69 ms
(2.36%)
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, w0_.work_id AS work_id_4, w0_.item_parameter_id AS item_parameter_id_5, w0_.parameter_id AS parameter_id_6 FROM work_items_parameters w0_ LEFT JOIN work_works w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) WHERE (w0_.work_item_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (w0_.deleted_at IS NULL) ORDER BY w0_.work_id ASC
Parameters:
[
  1
  26
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  14
  13
  15
  16
  17
  18
  19
]

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 17
Work\Entity\Group 7
Statement\Entity\Parameter 5
Shared\Entity\Unit 3
Statement\Entity\Formula 3
Statement\Entity\Prop 3
Statement\Entity\ParameterType 2
Statement\Entity\PropType 1

Entities Mapping

Class Mapping errors
Work\Entity\ItemParameter 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.
Statement\Entity\Prop No errors.
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.