GET https://admin-symfony-review.kube-dev.ugol.click/item-parameter

Query Metrics

41 Database Queries
7 Different statements
27.39 ms Query time
4 Invalid entities
48 Managed entities

Grouped Statements

Show all queries

Time Count Info
13.29 ms
(48.50%)
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 statement_items_parameters_items_props ON t0.prop_id = statement_items_parameters_items_props.prop_id WHERE statement_items_parameters_items_props.item_parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
5.78 ms
(21.08%)
13
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:
[
  2
]
4.37 ms
(15.96%)
1
SELECT DISTINCT s0_.item_parameter_id AS item_parameter_id_0 FROM statement_items_parameters s0_ WHERE (s0_.deleted_at IS NULL) LIMIT 20
Parameters:
[]
1.73 ms
(6.31%)
4
SELECT t0.item_id AS item_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 FROM statement_items t0 WHERE t0.item_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
1.02 ms
(3.73%)
1
SELECT s0_.item_parameter_id AS item_parameter_id_0, s0_.created_at AS created_at_1, s0_.deleted_at AS deleted_at_2, s0_.item_id AS item_id_3, s0_.parameter_id AS parameter_id_4, s0_.enum_id AS enum_id_5, s0_.formula_id AS formula_id_6, s0_.calculate_parameter_id AS calculate_parameter_id_7 FROM statement_items_parameters s0_ WHERE (s0_.item_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (s0_.deleted_at IS NULL)
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
]
0.85 ms
(3.09%)
1
SELECT t0.formula_id AS formula_id_1, t0.class AS class_2, t0.created_at AS created_at_3, t0.deleted_at AS deleted_at_4, t0.name AS name_5 FROM statement_formulas t0 WHERE t0.formula_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  2
]
0.36 ms
(1.32%)
1
SELECT count(*) AS sclr_0 FROM statement_items_parameters s0_ WHERE (s0_.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
Statement\Entity\ItemParameter 20
Statement\Entity\Parameter 13
Statement\Entity\Formula 6
Statement\Entity\Item 4
Shared\Entity\Unit 3
Statement\Entity\ParameterType 2

Entities Mapping

Class Mapping 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\Item No errors.
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\Enum 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\ItemParameterValue
  • The mappings Statement\Entity\ItemParameterValue#itemParameter and Statement\Entity\ItemParameter#values are inconsistent with each other.
Statement\Entity\Prop No errors.
Statement\Entity\ParameterType No errors.
Shared\Entity\Unit No errors.
Work\Entity\ItemParameter No errors.
Statement\Entity\PropType No errors.
Statement\Entity\FormulaParameter No errors.