GET https://oumaimaphotography.maisonphilo.com/admin/photo?page=1&sort%5Bcategory%5D=DESC

Query Metrics

7 Database Queries
4 Different statements
3.49 ms Query time
0 Invalid entities
24 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.95 ms
SELECT DISTINCT p0_.id AS id_0, p0_.category_id AS sclr_1 FROM photo p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id ORDER BY p0_.category_id DESC LIMIT 20
Parameters:
[]
2 0.82 ms
SELECT p0_.id AS id_0, p0_.image_name AS image_name_1, p0_.updated_at AS updated_at_2, p0_.category_id AS category_id_3 FROM photo p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.category_id DESC
Parameters:
[
  24
  23
  21
  20
  19
  18
  17
  16
  15
  14
  13
  12
  11
  10
  9
  8
  7
  6
  4
  3
]
3 0.90 ms
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM photo p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id
Parameters:
[]
4 0.36 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.image_name AS image_name_3, t0.updated_at AS updated_at_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  4
]
5 0.24 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.image_name AS image_name_3, t0.updated_at AS updated_at_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  3
]
6 0.12 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.image_name AS image_name_3, t0.updated_at AS updated_at_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  2
]
7 0.11 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.image_name AS image_name_3, t0.updated_at AS updated_at_4 FROM category t0 WHERE t0.id = ?
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
App\Entity\Photo 20
App\Entity\Category 4

Entities Mapping

Class Mapping errors
App\Entity\Photo No errors.
App\Entity\Category No errors.