Query Metrics

46 Database Queries
6 Different statements
29.41 ms Query time
7 Invalid entities
63 Managed entities

Grouped Statements

Show all queries

Time Count Info
13.68 ms
(46.52%)
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.63 ms
(25.95%)
18
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.83 ms
(13.04%)
1
SELECT DISTINCT w0_.work_item_parameter_id AS work_item_parameter_id_0 FROM work_items_parameters w0_ WHERE (w0_.deleted_at IS NULL) LIMIT 20
Parameters:
[]
2.86 ms
(9.71%)
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.80 ms
(2.73%)
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_ WHERE (w0_.work_item_parameter_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (w0_.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.60 ms
(2.05%)
1
SELECT count(*) AS sclr_0 FROM work_items_parameters w0_ 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 18
Work\Entity\Group 8
Statement\Entity\Parameter 6
Shared\Entity\Unit 3
Statement\Entity\Formula 3
Statement\Entity\ParameterType 2
Statement\Entity\Prop 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.