GET https://ssop.portaliansa.cl/template/find/by/section?id=1

Query Metrics

4 Database Queries
4 Different statements
5.51 ms Query time
0 Invalid entities
22 Managed entities

Queries

Group similar statements

# Time Info
1 0.49 ms
SELECT t0.id AS id_1, t0.password AS password_2, t0.name_person AS name_person_3, t0.user_name AS user_name_4, t0.avatar AS avatar_5, t0.email AS email_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.entity_user_id AS entity_user_id_9, t0.active_ind AS active_ind_10, t0.signature AS signature_11 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.text_name AS text_name_3 FROM role t0 INNER JOIN role_user ON t0.id = role_user.role_id WHERE role_user.user_id = ?
Parameters:
[
  1
]
3 1.10 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, t1_.id AS id_2, t1_.name_template AS name_template_3, COUNT(f2_.id) AS sclr_4 FROM template t1_ INNER JOIN template_section t3_ ON t1_.id = t3_.template_id INNER JOIN section s0_ ON t3_.section_id = s0_.id LEFT JOIN form f2_ ON t1_.id = f2_.template_id WHERE s0_.active_ind = 1 AND t3_.active_ind = 1 AND t1_.active_ind = 1 GROUP BY s0_.id, s0_.name, t1_.id, t1_.title_txt ORDER BY s0_.name ASC
Parameters:
[]
4 3.44 ms
SELECT t0_.id AS id_0, t0_.title_txt AS title_txt_1, t0_.subtitle_txt AS subtitle_txt_2, t0_.logo_img AS logo_img_3, t0_.label_name AS label_name_4, t0_.name_template AS name_template_5, t0_.active_ind AS active_ind_6, t0_.updated_at AS updated_at_7, t0_.entity_user_id AS entity_user_id_8, t0_.version AS version_9, t0_.is_template AS is_template_10, t0_.created_at AS created_at_11, t0_.template_type_id AS template_type_id_12 FROM template t0_ INNER JOIN template_section t1_ ON t0_.id = t1_.template_id INNER JOIN section s2_ ON t1_.section_id = s2_.id WHERE s2_.id = ? AND t0_.active_ind = 1 AND t1_.active_ind = 1 ORDER BY t0_.created_at DESC
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\Template 10
App\Entity\TemplateType 10
App\Entity\User 1
App\Entity\Role 1

Entities Mapping