GET https://mediamanager.joe.juicecd.com/category/019b12b9-2c2d-78b6-a32c-9054bdc2671e

Query Metrics

7 Database Queries
6 Different statements
17.55 ms Query time
0 Invalid entities
7 Managed entities

Queries

Group similar statements

# Time Info
1 3.32 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.created AS created_3, t0.description AS description_4, t0.created_by_id AS created_by_id_5 FROM media_category t0 WHERE t0.id = ?
Parameters:
[
  "019b12b9-2c2d-78b6-a32c-9054bdc2671e"
]
2 2.75 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.file_thumbnail AS file_thumbnail_3, t0.file_type AS file_type_4, t0.created AS created_5, t0.expiry AS expiry_6, t0.original_filename AS original_filename_7, t0.brand AS brand_8, t0.barcode AS barcode_9, t0.approved AS approved_10, t0.category_id AS category_id_11, t0.created_by_id AS created_by_id_12 FROM media_item t0 WHERE t0.category_id = ? AND t0.approved = ? ORDER BY t0.created DESC
Parameters:
[
  "019b12b9-2c2d-78b6-a32c-9054bdc2671e"
  1
]
3 2.16 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.name AS name_5, t0.is_verified AS is_verified_6 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  1
]
4 1.83 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.file_thumbnail AS file_thumbnail_3, t0.file_type AS file_type_4, t0.created AS created_5, t0.expiry AS expiry_6, t0.original_filename AS original_filename_7, t0.brand AS brand_8, t0.barcode AS barcode_9, t0.approved AS approved_10, t0.category_id AS category_id_11, t0.created_by_id AS created_by_id_12 FROM media_item t0 WHERE t0.category_id = ? AND t0.approved = ? ORDER BY t0.created DESC
Parameters:
[
  "019b12b9-2c2d-78b6-a32c-9054bdc2671e"
  0
]
5 2.57 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM media_item_tag t0 INNER JOIN media_item_tags ON t0.id = media_item_tags.media_item_tag_id WHERE media_item_tags.media_item_id = ?
Parameters:
[
  "019b12df-d81f-7922-a9bd-67d5bf4ff7fb"
]
6 3.06 ms
SELECT LOWER(m0_.brand) AS sclr_0, MIN(m0_.brand) AS sclr_1, COUNT(DISTINCT m0_.id) AS sclr_2 FROM media_item m0_ WHERE m0_.category_id = ? AND m0_.approved = true AND (m0_.brand IS NOT NULL AND m0_.brand <> '') GROUP BY sclr_0 ORDER BY sclr_1 ASC
Parameters:
[
  Symfony\Component\Uid\UuidV7 {#740
    __toString(): "019b12b9-2c2d-78b6-a32c-9054bdc2671e"
  }
]
7 1.87 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.created AS created_3, t0.description AS description_4, t0.created_by_id AS created_by_id_5 FROM media_category t0
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
App\Entity\MediaItemTag 3
App\Entity\MediaCategory 2
App\Entity\User 1
App\Entity\MediaItem 1

Entities Mapping

Class Mapping errors
App\Entity\MediaCategory No errors.
App\Entity\User No errors.
App\Entity\MediaItem No errors.
App\Entity\MediaItemTag No errors.