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

Query Metrics

13 Database Queries
4 Different statements
10.28 ms Query time
4 Invalid entities
25 Managed entities

Queries

Group similar statements

# Time Info
1 5.40 ms
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 OFFSET 20
Parameters:
[]
2 1.48 ms
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:
[
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
]
3 0.56 ms
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:
[]
4 0.22 ms
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:
[
  21
]
5 0.26 ms
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:
[
  22
]
6 0.25 ms
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:
[
  23
]
7 0.26 ms
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:
[
  24
]
8 0.22 ms
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:
[
  25
]
9 0.25 ms
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:
[
  26
]
10 0.25 ms
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:
[
  27
]
11 0.44 ms
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:
[
  28
]
12 0.44 ms
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:
[
  29
]
13 0.25 ms
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
]

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 10
Work\Entity\Price 10
Work\Entity\Group 5

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.