Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.84 ms
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, m0_.type_id AS type_id_5, m0_.group_id AS group_id_6 FROM material_materials m0_ WHERE (m0_.material_id IN (?)) AND (m0_.deleted_at IS NULL)
Parameters:
[
  "1"
]
2 2.17 ms
SELECT DISTINCT m0_.price_id AS price_id_0 FROM material_prices m0_ WHERE (m0_.material_id = (?)) AND (m0_.deleted_at IS NULL) LIMIT 20
Parameters:
[
  1
]
3 0.56 ms
SELECT m0_.price_id AS price_id_0, m0_.created_at AS created_at_1, m0_.deleted_at AS deleted_at_2, m0_.key AS key_3, m0_.price AS price_4, m0_.current AS current_5, m0_.material_id AS material_id_6 FROM material_prices m0_ WHERE (m0_.material_id = (?) AND m0_.price_id IN (?, ?)) AND (m0_.deleted_at IS NULL)
Parameters:
[
  1
  1
  2
]
4 0.66 ms
SELECT count(*) AS sclr_0 FROM material_prices m0_ WHERE (m0_.material_id = (?)) AND (m0_.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\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\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\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.