Query Metrics

24 Database Queries
8 Different statements
4.80 ms Query time
9 Invalid entities
42 Managed entities

Queries

Group similar statements

# Time Info
1 1.78 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.level AS level_18, t0.language AS language_19, t0.hours AS hours_20, t0.additional_students AS additional_students_21, t0.listing_image_name AS listing_image_name_22, t0.show_image_name AS show_image_name_23, t0.created_by_id AS created_by_id_24, t0.category_id AS category_id_25, t0.type FROM training t0 WHERE t0.slug = ? AND t0.type IN ('elearning') LIMIT 1
Parameters:
[
  "mon-titre-de-formation-tres-long-pour-voir-si-ca-passe-sur-3-lignes-ou-plus-je-ne-sais-pas-a-voir"
]
2 0.34 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:
[
  387
  "BOTH"
  "E_LEARNING"
]
3 0.20 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
]
4 0.20 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.position AS position_3, t0.training_elearning_id AS training_elearning_id_4 FROM elearning_module t0 WHERE t0.training_elearning_id = ? ORDER BY t0.position ASC
Parameters:
[
  387
]
5 0.23 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:
[
  387
]
6 0.16 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.duration AS duration_3, t0.position AS position_4, t0.module_id AS module_id_5, t0.item_id AS item_id_6 FROM elearning_chapter t0 WHERE t0.module_id = ? ORDER BY t0.position ASC
Parameters:
[
  9
]
7 0.32 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  23
]
8 0.12 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  21
]
9 0.12 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  20
]
10 0.09 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  16
]
11 0.16 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  15
]
12 0.09 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  22
]
13 0.08 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  14
]
14 0.08 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  13
]
15 0.09 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  9
]
16 0.07 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  10
]
17 0.07 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  12
]
18 0.08 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.duration AS duration_3, t0.position AS position_4, t0.module_id AS module_id_5, t0.item_id AS item_id_6 FROM elearning_chapter t0 WHERE t0.module_id = ? ORDER BY t0.position ASC
Parameters:
[
  10
]
19 0.09 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  17
]
20 0.07 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  11
]
21 0.07 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.duration AS duration_3, t0.position AS position_4, t0.module_id AS module_id_5, t0.item_id AS item_id_6 FROM elearning_chapter t0 WHERE t0.module_id = ? ORDER BY t0.position ASC
Parameters:
[
  12
]
22 0.08 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  19
]
23 0.07 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t5.id AS id_4, t5.title AS title_6, t5.duration AS duration_7, t5.position AS position_8, t5.module_id AS module_id_9, t5.item_id AS item_id_10, t0.type, t0.content AS content_11, t0.quiz_id AS quiz_id_12, t0.audio_name AS audio_name_13, t0.embed_code AS embed_code_14, t0.instructions AS instructions_15 FROM chapter_item t0 LEFT JOIN elearning_chapter t5 ON t5.item_id = t0.id WHERE t0.id = ? AND t0.type IN ('text', 'quiz', 'audio', 'video', 'deliverable')
Parameters:
[
  18
]
24 0.13 ms
SELECT t0.id AS id_1, t0.firstname AS firstname_2, t0.lastname AS lastname_3, t0.slug AS slug_4, t0.description AS description_5, t0.certifications AS certifications_6, t0.status AS status_7, t0.image_name AS image_name_8, t0.updated_at AS updated_at_9, t0.available AS available_10, t0.nda_status AS nda_status_11, t0.joined_at AS joined_at_12, t0.is_senza_trainer AS is_senza_trainer_13, t0.data_gouv_link AS data_gouv_link_14, t0.level AS level_15, t0.languages AS languages_16, t0.total_trainings AS total_trainings_17, t0.quality_chart_signed AS quality_chart_signed_18, t0.senza_training_validated AS senza_training_validated_19, t0.expert AS expert_20, t0.siret AS siret_21, t0.nda_number AS nda_number_22, t0.email_hash AS email_hash_23, t0.user_id AS user_id_24 FROM trainer t0 INNER JOIN training_trainer ON t0.id = training_trainer.trainer_id WHERE training_trainer.training_id = ?
Parameters:
[
  387
]

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\Elearning\ElearningChapter 15
App\Entity\Elearning\ChapterItem 15
App\Entity\Elearning\ElearningModule 3
App\Entity\TrainingObjective 3
App\Entity\Trainer\Trainer 2
App\Entity\User 2
App\Entity\Training 1
App\Entity\Quiz\Quiz 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\TrainingElearning
  • The association App\Entity\TrainingElearning#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\TrainingObjective No errors.
App\Entity\FAQ No errors.
App\Entity\Trainer\Trainer No errors.
App\Entity\Elearning\ElearningModule No errors.
App\Entity\Cms\CmsPage No errors.
App\Entity\Elearning\ElearningChapter No errors.
App\Entity\Elearning\ChapterItem
  • The field App\Entity\Elearning\ChapterItem#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Elearning\ChapterItemText
  • The field App\Entity\Elearning\ChapterItemText#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Elearning\ChapterItemQuiz
  • The field App\Entity\Elearning\ChapterItemQuiz#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Quiz\Quiz No errors.
App\Entity\Elearning\ChapterItemAudio
  • The field App\Entity\Elearning\ChapterItemAudio#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Elearning\ChapterItemVideo
  • The field App\Entity\Elearning\ChapterItemVideo#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Elearning\ChapterItemDeliverable
  • The field App\Entity\Elearning\ChapterItemDeliverable#chapter is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Elearning\ElearningChapter#item does not contain the required 'inversedBy: "chapter"' attribute.
App\Entity\Place No errors.
App\Entity\Trainer\TrainerDocument No errors.
App\Entity\Trainer\TrainerExperience No errors.
App\Entity\Trainer\TrainerDiploma No errors.
App\Entity\Trainer\TrainerReview No errors.
App\Entity\Trainer\TrainerSkill No errors.
App\Entity\TrainingProfessional
  • The association App\Entity\TrainingProfessional#createdBy refers to the inverse side field App\Entity\User#trainings which does not exist.