Query Metrics

13 Database Queries
13 Different statements
2.26 ms Query time
6 Invalid entities
73 Managed entities

Queries

Group similar statements

# Time Info
1 0.30 ms
SELECT * FROM training WHERE type = 'professional' AND (slug = :slug OR EXISTS (
                SELECT 1 FROM json_each(slug_history) WHERE value = :slug
            ))
Parameters:
[
  "slug" => "formation-creation-de-site-avec-wordpress-et-elementor-en-presentiel"
]
2 0.12 ms
SELECT t0.id AS id_1, t0.label AS label_2, t0.code AS code_3, t0.slug_history AS slug_history_4, t0.description AS description_5, t0.price AS price_6, t0.status AS status_7, t0.satisfaction_rate AS satisfaction_rate_8, t0.completion_rate AS completion_rate_9, t0.featured_on_search AS featured_on_search_10, t0.pixels AS pixels_11, t0.updated_at AS updated_at_12, t0.seo_title AS seo_title_13, t0.seo_description AS seo_description_14, t0.seo_canonical AS seo_canonical_15, t0.seo_indexed AS seo_indexed_16, t0.slug AS slug_17, t0.sub_title AS sub_title_18, t0.show_on_home_page AS show_on_home_page_19, t0.format AS format_20, t0.collective_face_to_face_hours AS collective_face_to_face_hours_21, t0.individual_face_to_face_hours AS individual_face_to_face_hours_22, t0.individual_videoconference_hours AS individual_videoconference_hours_23, t0.collective_videoconference_hours AS collective_videoconference_hours_24, t0.elearning_hours AS elearning_hours_25, t0.face_to_face_hours_text AS face_to_face_hours_text_26, t0.min_period AS min_period_27, t0.max_period AS max_period_28, t0.public AS public_29, t0.prerequisites AS prerequisites_30, t0.cpf AS cpf_31, t0.cpf_link AS cpf_link_32, t0.pdf_name AS pdf_name_33, t0.pdf_mime_type AS pdf_mime_type_34, t0.created_by_id AS created_by_id_35, t0.category_id AS category_id_36, t0.certification_id AS certification_id_37, t0.type FROM training t0 WHERE t0.id = ? AND t0.type IN ('professional')
Parameters:
[
  31
]
3 0.25 ms
SELECT f.id, f.question, f.answer, f.category_id, c.label AS category_label
                FROM faq f
                LEFT JOIN faqcategory c ON f.category_id = c.id
                WHERE (f.training_id = ? OR f.training_id IS NULL)
                AND (
                    c.type IS NULL -- For specific questions not linked to a category
                    OR c.type = ? 
                    OR c.type = ?
                )
                ORDER BY c.id, f.question
Parameters:
[
  31
  "BOTH"
  "PROFESSIONAL"
]
4 0.09 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.end_date AS end_date_3, t0.full AS full_4, t0.training_id AS training_id_5 FROM session t0 WHERE t0.training_id = ?
Parameters:
[
  31
]
5 0.17 ms
SELECT s0_.id AS id_0, s0_.start_date AS start_date_1, s0_.end_date AS end_date_2, s0_.full AS full_3, s0_.training_id AS training_id_4 FROM session s0_ WHERE s0_.start_date > ? ORDER BY s0_.start_date ASC LIMIT 5
Parameters:
[
  "2026-03-01 00:11:00"
]
6 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.success_rate AS success_rate_3, t0.url AS url_4, t0.number AS number_5, t0.certifier_url AS certifier_url_6, t0.certifier AS certifier_7, t0.objectives AS objectives_8, t0.evaluation AS evaluation_9, t0.registration_limit_date AS registration_limit_date_10, t0.type AS type_11 FROM certification t0 WHERE t0.id = ?
Parameters:
[
  7
]
7 0.10 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, t0.total_trainings AS total_trainings_5 FROM training_category t0 WHERE t0.id = ?
Parameters:
[
  2
]
8 0.31 ms
SELECT t0.id AS id_1, t0.label AS label_2, t0.training_id AS training_id_3 FROM training_objective t0 WHERE t0.training_id = ?
Parameters:
[
  31
]
9 0.12 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.training_id AS training_id_4 FROM training_program_part t0 WHERE t0.training_id = ?
Parameters:
[
  31
]
10 0.13 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.enable AS enable_4, t0.updated_at AS updated_at_5, t0.seo_title AS seo_title_6, t0.seo_description AS seo_description_7, t0.seo_canonical AS seo_canonical_8, t0.seo_indexed AS seo_indexed_9 FROM cms_page t0 WHERE t0.enable = ?
Parameters:
[
  1
]
11 0.18 ms
SELECT t0.id AS id_1, t0.label AS label_2, t0.code AS code_3, t0.slug_history AS slug_history_4, t0.description AS description_5, t0.price AS price_6, t0.status AS status_7, t0.satisfaction_rate AS satisfaction_rate_8, t0.completion_rate AS completion_rate_9, t0.featured_on_search AS featured_on_search_10, t0.pixels AS pixels_11, t0.updated_at AS updated_at_12, t0.seo_title AS seo_title_13, t0.seo_description AS seo_description_14, t0.seo_canonical AS seo_canonical_15, t0.seo_indexed AS seo_indexed_16, t0.created_by_id AS created_by_id_17, t0.category_id AS category_id_18, t0.type, t0.slug AS slug_19, t0.sub_title AS sub_title_20, t0.show_on_home_page AS show_on_home_page_21, t0.format AS format_22, t0.collective_face_to_face_hours AS collective_face_to_face_hours_23, t0.individual_face_to_face_hours AS individual_face_to_face_hours_24, t0.individual_videoconference_hours AS individual_videoconference_hours_25, t0.collective_videoconference_hours AS collective_videoconference_hours_26, t0.elearning_hours AS elearning_hours_27, t0.face_to_face_hours_text AS face_to_face_hours_text_28, t0.min_period AS min_period_29, t0.max_period AS max_period_30, t0.public AS public_31, t0.prerequisites AS prerequisites_32, t0.cpf AS cpf_33, t0.cpf_link AS cpf_link_34, t0.pdf_name AS pdf_name_35, t0.pdf_mime_type AS pdf_mime_type_36, t0.certification_id AS certification_id_37, t0.slug AS slug_38, t0.level AS level_39, t0.language AS language_40, t0.hours AS hours_41, t0.additional_students AS additional_students_42, t0.listing_image_name AS listing_image_name_43, t0.show_image_name AS show_image_name_44 FROM training t0 INNER JOIN training_related ON t0.id = training_related.training_target WHERE training_related.training_source = ? AND t0.type IN ('professional', 'elearning')
Parameters:
[
  31
]
12 0.12 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.description AS description_4, t0.image_name AS image_name_5, t0.updated_at AS updated_at_6 FROM financing t0 INNER JOIN training_professional_financing ON t0.id = training_professional_financing.financing_id WHERE training_professional_financing.training_professional_id = ?
Parameters:
[
  31
]
13 0.18 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.address AS address_3, t0.zip_code AS zip_code_4, t0.city AS city_5, t0.image_name AS image_name_6, t0.updated_at AS updated_at_7, t0.phone_number AS phone_number_8, t0.information AS information_9, t0.amenities AS amenities_10, t0.google_map_link AS google_map_link_11 FROM place t0 INNER JOIN training_professional_place ON t0.id = training_professional_place.place_id WHERE training_professional_place.training_professional_id = ?
Parameters:
[
  31
]

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\Place 50
App\Entity\TrainingObjective 6
App\Entity\TrainingProgramPart 5
App\Entity\Financing 5
App\Entity\Session 4
App\Entity\Training 1
App\Entity\TrainingCategory 1
App\Entity\Certification 1

Entities Mapping

Class Mapping errors
App\Entity\Training
  • The association App\Entity\Training#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.
App\Entity\TrainingProfessional
  • The association App\Entity\TrainingProfessional#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.
App\Entity\User No errors.
App\Entity\TrainingCategory No errors.
App\Entity\Certification No errors.
App\Entity\TrainingObjective No errors.
App\Entity\FAQ No errors.
App\Entity\Trainer\Trainer No errors.
App\Entity\TrainingProgramPart
  • The association App\Entity\TrainingProgramPart#training refers to the inverse side field App\Entity\Training#trainingProgramParts which does not exist.
App\Entity\Financing No errors.
App\Entity\Place No errors.
App\Entity\Session
  • The association App\Entity\Session#training refers to the inverse side field App\Entity\Training#sessions which does not exist.
App\Entity\TrainingCityChild
  • The association App\Entity\TrainingCityChild#training refers to the inverse side field App\Entity\Training#trainingCityChildren which does not exist.
App\Entity\Cms\CmsPage No errors.
App\Entity\TrainingElearning
  • The association App\Entity\TrainingElearning#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.
App\Entity\PlacePicture No errors.