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

Grouped Statements

Show all queries

Time▼ Count Info
0.95 ms
(27.15%)
1
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:
[]
0.90 ms
(25.78%)
1
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM photo p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id
Parameters:
[]
0.82 ms
(23.60%)
4
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
]
0.82 ms
(23.48%)
1
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
]

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.