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

Query Metrics

4 Database Queries
4 Different statements
7.43 ms Query time
4 Invalid entities
4 Managed entities

Grouped Statements

Show all queries

Time Count Info
6.01 ms
(80.92%)
1
SELECT DISTINCT m0_.material_id AS material_id_0, (SELECT COUNT(m1_.price_id) AS sclr_2 FROM material_prices m1_ WHERE (m1_.material_id = m0_.material_id) AND (m1_.deleted_at IS NULL)) AS sclr_1, m0_.material_id AS material_id_3 FROM material_materials m0_ LEFT JOIN material_prices m2_ ON m0_.material_id = m2_.material_id AND (m2_.deleted_at IS NULL) WHERE (m0_.deleted_at IS NULL) ORDER BY sclr_1 DESC, m0_.material_id DESC LIMIT 20
Parameters:
[]
0.62 ms
(8.41%)
1
SELECT count(DISTINCT m0_.material_id) AS sclr_0 FROM material_materials m0_ LEFT JOIN material_prices m1_ ON m0_.material_id = m1_.material_id AND (m1_.deleted_at IS NULL) WHERE (m0_.deleted_at IS NULL)
Parameters:
[]
0.50 ms
(6.77%)
1
SELECT m0_.material_id AS material_id_0, m0_.created_at AS created_at_1, m0_.deleted_at AS deleted_at_2, m0_.key AS key_3, m0_.name AS name_4, (SELECT COUNT(m1_.price_id) AS sclr_6 FROM material_prices m1_ WHERE (m1_.material_id = m0_.material_id) AND (m1_.deleted_at IS NULL)) AS sclr_5, m0_.type_id AS type_id_7, m0_.group_id AS group_id_8 FROM material_materials m0_ LEFT JOIN material_prices m2_ ON m0_.material_id = m2_.material_id AND (m2_.deleted_at IS NULL) WHERE (m0_.material_id IN (?)) AND (m0_.deleted_at IS NULL) ORDER BY sclr_5 DESC, m0_.material_id DESC
Parameters:
[
  1
]
0.29 ms
(3.89%)
1
SELECT t0.price_id AS price_id_1, t0.created_at AS created_at_2, t0.deleted_at AS deleted_at_3, t0.key AS key_4, t0.price AS price_5, t0.current AS current_6, t0.material_id AS material_id_7 FROM material_prices 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
Material\Entity\Price 2
Material\Entity\Material 1
Material\Entity\Group 1

Entities Mapping

Class Mapping errors
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.
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.
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.
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.