GET https://mipe-website.erp-smb.com/category/funds

Query Metrics

7 Database Queries
7 Different statements
6.59 ms Query time
0 Invalid entities
8 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.56 ms
(23.64%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.photo AS photo_4, t0.description AS description_5, t0.parent_id AS parent_id_6 FROM category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "funds"
]
1.45 ms
(21.97%)
1
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM post p0_ INNER JOIN post_category p2_ ON p0_.id = p2_.post_id INNER JOIN category c1_ ON c1_.id = p2_.category_id WHERE c1_.id = ? AND p0_.published = 1 GROUP BY p0_.id
Parameters:
[
  3
]
1.06 ms
(16.02%)
1
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.brief AS brief_3, p0_.content AS content_4, p0_.source AS source_5, p0_.photo AS photo_6, p0_.seo_title AS seo_title_7, p0_.seo_desc AS seo_desc_8, p0_.published AS published_9, p0_.deleted_at AS deleted_at_10, p0_.created_at AS created_at_11, p0_.updated_at AS updated_at_12, c1_.id AS id_13, c1_.name AS name_14, c1_.slug AS slug_15, c1_.photo AS photo_16, c1_.description AS description_17, p0_.created_by_id AS created_by_id_18, c1_.parent_id AS parent_id_19 FROM post p0_ INNER JOIN post_category p2_ ON p0_.id = p2_.post_id INNER JOIN category c1_ ON c1_.id = p2_.category_id WHERE c1_.id = ? AND p0_.published = 1 AND p0_.id IN (?, ?) GROUP BY p0_.id ORDER BY p0_.created_at DESC
Parameters:
[
  3
  6
  5
]
0.83 ms
(12.64%)
1
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.gender AS gender_6 FROM user t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.59 ms
(8.95%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.created_at AS created_at_1 FROM post p0_ INNER JOIN post_category p2_ ON p0_.id = p2_.post_id INNER JOIN category c1_ ON c1_.id = p2_.category_id WHERE c1_.id = ? AND p0_.published = 1 GROUP BY p0_.id ORDER BY p0_.created_at DESC LIMIT 5
Parameters:
[
  3
]
0.58 ms
(8.75%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.photo AS photo_3, c0_.description AS description_4, c0_.parent_id AS parent_id_5 FROM category c0_ WHERE c0_.parent_id IS NULL ORDER BY c0_.name ASC
Parameters:
[]
0.53 ms
(8.03%)
1
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.brief AS brief_3, p0_.content AS content_4, p0_.source AS source_5, p0_.photo AS photo_6, p0_.seo_title AS seo_title_7, p0_.seo_desc AS seo_desc_8, p0_.published AS published_9, p0_.deleted_at AS deleted_at_10, p0_.created_at AS created_at_11, p0_.updated_at AS updated_at_12, p0_.created_by_id AS created_by_id_13 FROM post p0_ WHERE p0_.published = 1 ORDER BY p0_.updated_at DESC LIMIT 5
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\Post 5
App\Entity\Category 2
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\Category No errors.
App\Entity\Post No errors.
App\Entity\User No errors.
App\Entity\Media No errors.