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

Query Metrics

49 Database Queries
6 Different statements
23.07 ms Query time
7 Invalid entities
71 Managed entities

Grouped Statements

Show all queries

Time Count Info
9.88 ms
(42.84%)
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:
[
  33
]
5.18 ms
(22.46%)
19
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:
[
  30
]
3.77 ms
(16.35%)
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 DESC LIMIT 20
Parameters:
[]
2.86 ms
(12.38%)
7
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:
[
  24
]
0.71 ms
(3.09%)
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 DESC
Parameters:
[
  33
  32
  31
  30
  29
  28
  27
  25
  24
  23
  22
  21
  20
  19
  18
  17
  16
  13
  15
  12
]
0.67 ms
(2.89%)
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:
[]

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 19
Statement\Entity\Parameter 9
Work\Entity\Group 9
Statement\Entity\Formula 4
Statement\Entity\Prop 4
Shared\Entity\Unit 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.