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

Query Metrics

32 Database Queries
6 Different statements
23.08 ms Query time
3 Invalid entities
38 Managed entities

Grouped Statements

Show all queries

Time Count Info
14.50 ms
(62.83%)
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_parameters_items_props ON t0.prop_id = statement_parameters_items_props.prop_id WHERE statement_parameters_items_props.parameter_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  26
]
3.26 ms
(14.14%)
7
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:
[
  7
]
2.88 ms
(12.48%)
1
SELECT DISTINCT s0_.parameter_id AS parameter_id_0, s0_.calculate_parameter_id AS sclr_1 FROM statement_parameters s0_ LEFT JOIN statement_parameters s1_ ON s0_.calculate_parameter_id = s1_.parameter_id AND (s1_.deleted_at IS NULL) WHERE (s0_.deleted_at IS NULL) ORDER BY s0_.calculate_parameter_id DESC LIMIT 20
Parameters:
[]
1.13 ms
(4.91%)
2
SELECT t0.parameter_type_id AS parameter_type_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_parameters_types t0 WHERE t0.parameter_type_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  2
]
0.69 ms
(2.98%)
1
SELECT s0_.parameter_id AS parameter_id_0, s0_.created_at AS created_at_1, s0_.deleted_at AS deleted_at_2, s0_.name AS name_3, s0_.key AS key_4, s0_.parameter_type_id AS parameter_type_id_5, s0_.unit_id AS unit_id_6, s0_.formula_id AS formula_id_7, s0_.calculate_parameter_id AS calculate_parameter_id_8 FROM statement_parameters s0_ LEFT JOIN statement_parameters s1_ ON s0_.calculate_parameter_id = s1_.parameter_id AND (s1_.deleted_at IS NULL) WHERE (s0_.parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (s0_.deleted_at IS NULL) ORDER BY s0_.calculate_parameter_id DESC
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  9
  10
  11
  12
  13
  18
  19
  20
  21
  23
  26
  22
  8
]
0.61 ms
(2.66%)
1
SELECT count(DISTINCT s0_.parameter_id) AS sclr_0 FROM statement_parameters s0_ LEFT JOIN statement_parameters s1_ ON s0_.calculate_parameter_id = s1_.parameter_id AND (s1_.deleted_at IS NULL) 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\Parameter 20
Statement\Entity\Formula 7
Statement\Entity\Prop 5
Shared\Entity\Unit 3
Statement\Entity\ParameterType 2
Statement\Entity\PropType 1

Entities Mapping

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