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

Query Metrics

23 Database Queries
4 Different statements
10.34 ms Query time
4 Invalid entities
48 Managed entities

Grouped Statements

Show all queries

Time Count Info
4.89 ms
(47.27%)
20
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.work_id AS work_id_7 FROM work_prices t0 WHERE t0.work_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  1
]
4.13 ms
(39.95%)
1
SELECT DISTINCT w0_.work_id AS work_id_0, (SELECT COUNT(w1_.price_id) AS sclr_2 FROM work_prices w1_ WHERE (w1_.work_id = w0_.work_id) AND (w1_.deleted_at IS NULL)) AS sclr_1, w0_.work_id AS work_id_3 FROM work_works w0_ LEFT JOIN work_prices w2_ ON w0_.work_id = w2_.work_id AND (w2_.deleted_at IS NULL) WHERE (w0_.deleted_at IS NULL) ORDER BY sclr_1 ASC, w0_.work_id ASC LIMIT 20
Parameters:
[]
0.91 ms
(8.77%)
1
SELECT w0_.work_id AS work_id_0, w0_.created_at AS created_at_1, w0_.deleted_at AS deleted_at_2, w0_.key AS key_3, w0_.name AS name_4, (SELECT COUNT(w1_.price_id) AS sclr_6 FROM work_prices w1_ WHERE (w1_.work_id = w0_.work_id) AND (w1_.deleted_at IS NULL)) AS sclr_5, w0_.type_id AS type_id_7, w0_.group_id AS group_id_8 FROM work_works w0_ LEFT JOIN work_prices w2_ ON w0_.work_id = w2_.work_id AND (w2_.deleted_at IS NULL) WHERE (w0_.work_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (w0_.deleted_at IS NULL) ORDER BY sclr_5 ASC, w0_.work_id ASC
Parameters:
[
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
]
0.41 ms
(4.00%)
1
SELECT count(DISTINCT w0_.work_id) AS sclr_0 FROM work_works w0_ LEFT JOIN work_prices w1_ ON w0_.work_id = w1_.work_id AND (w1_.deleted_at IS NULL) 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\Work 20
Work\Entity\Price 20
Work\Entity\Group 8

Entities Mapping

Class Mapping errors
Work\Entity\Work
  • 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.
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.
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.