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

Query Metrics

23 Database Queries
4 Different statements
12.83 ms Query time
4 Invalid entities
49 Managed entities

Grouped Statements

Show all queries

Time Count Info
6.48 ms
(50.52%)
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:
[
  30
]
4.73 ms
(36.87%)
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 DESC, w0_.work_id DESC LIMIT 20
Parameters:
[]
1.07 ms
(8.31%)
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 DESC, w0_.work_id DESC
Parameters:
[
  30
  29
  28
  27
  26
  25
  24
  23
  22
  21
  20
  19
  18
  17
  16
  15
  14
  13
  12
  11
]
0.55 ms
(4.30%)
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 9

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.