Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `Page`.`id`, `Page`.`parent_id`, `Page`.`home`, `PageType`.*, `Template`.`name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, (`I18n__meta_title`.`content`) AS `Page__i18n_meta_title`, (`I18n__meta_description`.`content`) AS `Page__i18n_meta_description` FROM `brossay`.`pages` AS `Page` INNER JOIN `brossay`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__meta_title` ON (`Page`.`id` = `I18n__meta_title`.`foreign_key` AND `I18n__meta_title`.`model` = 'Page' AND `I18n__meta_title`.`field` = 'meta_title' AND `I18n__meta_title`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__meta_description` ON (`Page`.`id` = `I18n__meta_description`.`foreign_key` AND `I18n__meta_description`.`model` = 'Page' AND `I18n__meta_description`.`field` = 'meta_description' AND `I18n__meta_description`.`locale` = 'fra') LEFT JOIN `brossay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `brossay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE (`I18n__alias`.`content`) = 'mairie' AND `Page`.`active` = '1' AND `Page`.`home` = '0' LIMIT 1 | 1 | 1 | 2 | maybe slow |
SELECT `nameTranslations`.`id`, `nameTranslations`.`locale`, `nameTranslations`.`model`, `nameTranslations`.`foreign_key`, `nameTranslations`.`field`, `nameTranslations`.`content` FROM `brossay`.`i18n` AS `nameTranslations` WHERE `model` = 'Page' AND `field` = 'name' AND `nameTranslations`.`foreign_key` = (58) | 2 | 2 | 0 | |
SELECT `aliasTranslations`.`id`, `aliasTranslations`.`locale`, `aliasTranslations`.`model`, `aliasTranslations`.`foreign_key`, `aliasTranslations`.`field`, `aliasTranslations`.`content` FROM `brossay`.`i18n` AS `aliasTranslations` WHERE `model` = 'Page' AND `field` = 'alias' AND `aliasTranslations`.`foreign_key` = (58) | 2 | 2 | 0 | |
SELECT `meta_titleTranslations`.`id`, `meta_titleTranslations`.`locale`, `meta_titleTranslations`.`model`, `meta_titleTranslations`.`foreign_key`, `meta_titleTranslations`.`field`, `meta_titleTranslations`.`content` FROM `brossay`.`i18n` AS `meta_titleTranslations` WHERE `model` = 'Page' AND `field` = 'meta_title' AND `meta_titleTranslations`.`foreign_key` = (58) | 2 | 2 | 0 | |
SELECT `meta_descriptionTranslations`.`id`, `meta_descriptionTranslations`.`locale`, `meta_descriptionTranslations`.`model`, `meta_descriptionTranslations`.`foreign_key`, `meta_descriptionTranslations`.`field`, `meta_descriptionTranslations`.`content` FROM `brossay`.`i18n` AS `meta_descriptionTranslations` WHERE `model` = 'Page' AND `field` = 'meta_description' AND `meta_descriptionTranslations`.`foreign_key` = (58) | 2 | 2 | 0 | |
SELECT `Page`.`parent_id`, `Page`.`home`, `PageType`.`slug`, `PageType`.`controller`, `PageType`.`action`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, `Page`.`id` FROM `brossay`.`pages` AS `Page` INNER JOIN `brossay`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') LEFT JOIN `brossay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `brossay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE `Page`.`active` = '1' AND `Page`.`menu` = '1' ORDER BY `Page`.`lft` ASC | 22 | 22 | 0 | |
SELECT `Page`.`lft`, `Page`.`rght` FROM `brossay`.`pages` AS `Page` WHERE `Page`.`id` = 58 LIMIT 1 | 1 | 1 | 0 | |
SELECT `Page`.`id`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias` FROM `brossay`.`pages` AS `Page` INNER JOIN `brossay`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') WHERE 1 = 1 AND `Page`.`lft` <= 3 AND `Page`.`rght` >= 10 ORDER BY `Page`.`lft` asc | 1 | 1 | 1 | |
SELECT `PageType`.*, `Page`.`home`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, `Page`.`id` FROM `brossay`.`pages` AS `Page` INNER JOIN `brossay`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') LEFT JOIN `brossay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `brossay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE ((((`Page`.`menu` = '0') AND (`Page`.`active` = '1'))) OR (`Page`.`alias` = 'contact')) ORDER BY `Page`.`lft` ASC | 1 | 1 | 0 | |
SELECT `Page`.`lft`, `Page`.`rght`, `Page`.`id` FROM `brossay`.`pages` AS `Page` LEFT JOIN `brossay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `brossay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE `Page`.`id` = 58 LIMIT 1 | 1 | 1 | 0 | |
SELECT `Page`.*, `PageType`.`slug`, `PageType`.`controller`, `PageType`.`action`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, (`I18n__meta_title`.`content`) AS `Page__i18n_meta_title`, (`I18n__meta_description`.`content`) AS `Page__i18n_meta_description`, `Page`.`id` FROM `brossay`.`pages` AS `Page` INNER JOIN `brossay`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__meta_title` ON (`Page`.`id` = `I18n__meta_title`.`foreign_key` AND `I18n__meta_title`.`model` = 'Page' AND `I18n__meta_title`.`field` = 'meta_title' AND `I18n__meta_title`.`locale` = 'fra') INNER JOIN `brossay`.`i18n` AS `I18n__meta_description` ON (`Page`.`id` = `I18n__meta_description`.`foreign_key` AND `I18n__meta_description`.`model` = 'Page' AND `I18n__meta_description`.`field` = 'meta_description' AND `I18n__meta_description`.`locale` = 'fra') LEFT JOIN `brossay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `brossay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE 1 = 1 AND `Page`.`lft` <= 3 AND `Page`.`rght` >= 10 ORDER BY `Page`.`lft` asc | 1 | 1 | 1 | |
SELECT `Content`.`id`, `Content`.`page_id`, `Content`.`model`, `Content`.`zone`, `Content`.`rang` FROM `brossay`.`contents` AS `Content` WHERE `Content`.`page_id` = 58 ORDER BY `Content`.`zone` ASC, `Content`.`rang` ASC | 1 | 1 | 0 | |
SELECT `ModuleGallery`.`id`, `ModuleGallery`.`content_id` FROM `brossay`.`module_galleries` AS `ModuleGallery` WHERE `ModuleGallery`.`content_id` = 54 LIMIT 1 | 1 | 1 | 0 | |
SELECT `Gallery`.`id`, `Gallery`.`module_gallery_id`, `Gallery`.`caption`, `Gallery`.`rang`, `Gallery`.`filename` FROM `brossay`.`galleries` AS `Gallery` WHERE `Gallery`.`module_gallery_id` = 2 ORDER BY `Gallery`.`rang` ASC | 0 | 0 | 1 | maybe slow |
SELECT `Evenement`.`id`, `Evenement`.`content`, `Evenement`.`date_debut`, `Evenement`.`date_fin`, `Evenement`.`created` FROM `brossay`.`evenements` AS `Evenement` WHERE ((((`Evenement`.`date_debut` >= '2024-11-23 23:59:59') AND (`Evenement`.`date_fin` IS NULL))) OR (((NOT (`Evenement`.`date_fin` IS NULL)) AND (`Evenement`.`date_fin` >= '2024-11-23 23:59:59')))) ORDER BY `Evenement`.`date_debut` DESC, `Evenement`.`date_fin` DESC | 0 | 0 | 0 | |