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

Query Metrics

5 Database Queries
5 Different statements
5.17 ms Query time
7 Invalid entities
5 Managed entities

Queries

Group similar statements

# Time Info
1 3.08 ms
SELECT DISTINCT w0_.work_material_id AS work_material_id_0, w0_.work_id AS sclr_1 FROM work_works_materials 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 0.34 ms
SELECT w0_.work_material_id AS work_material_id_0, w0_.count AS count_1, w0_.created_at AS created_at_2, w0_.deleted_at AS deleted_at_3, w0_.work_id AS work_id_4, w0_.material_id AS material_id_5 FROM work_works_materials w0_ LEFT JOIN work_works w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) WHERE (w0_.work_material_id IN (?)) AND (w0_.deleted_at IS NULL) ORDER BY w0_.work_id DESC
Parameters:
[
  1
]
3 0.53 ms
SELECT count(DISTINCT w0_.work_material_id) AS sclr_0 FROM work_works_materials 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:
[]
4 0.34 ms
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
]
5 0.88 ms
SELECT t0.material_id AS material_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 material_materials t0 WHERE t0.material_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]

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\WorkMaterial 1
Work\Entity\Work 1
Material\Entity\Material 1
Work\Entity\Group 1
Material\Entity\Group 1

Entities Mapping

Class Mapping errors
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\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.
Material\Entity\Material
  • The field Material\Entity\Material#prices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Material\Entity\Price#material does not contain the required 'inversedBy: "prices"' attribute.
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\ItemParameter No errors.
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.
Material\Entity\Type No errors.
Material\Entity\GroupTree No errors.
Material\Entity\Group
  • The association Material\Entity\Group#materials refers to the owning side field Material\Entity\Material#material which does not exist.
Material\Entity\Price
  • The field 'Material\Entity\Price#price' has the property type 'float' that differs from the metadata field type 'string' returned by the 'decimal' DBAL type.