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 `parnay`.`pages` AS `Page` INNER JOIN `parnay`.`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 `parnay`.`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 `parnay`.`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 `parnay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `parnay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE `PageType`.`slug` = 'news' AND `Page`.`active` = '1' LIMIT 1 | 1 | 1 | 1 | |
SELECT `nameTranslations`.`id`, `nameTranslations`.`locale`, `nameTranslations`.`model`, `nameTranslations`.`foreign_key`, `nameTranslations`.`field`, `nameTranslations`.`content` FROM `parnay`.`i18n` AS `nameTranslations` WHERE `model` = 'Page' AND `field` = 'name' AND `nameTranslations`.`foreign_key` = (61) | 2 | 2 | 0 | |
SELECT `aliasTranslations`.`id`, `aliasTranslations`.`locale`, `aliasTranslations`.`model`, `aliasTranslations`.`foreign_key`, `aliasTranslations`.`field`, `aliasTranslations`.`content` FROM `parnay`.`i18n` AS `aliasTranslations` WHERE `model` = 'Page' AND `field` = 'alias' AND `aliasTranslations`.`foreign_key` = (61) | 2 | 2 | 0 | |
SELECT `meta_titleTranslations`.`id`, `meta_titleTranslations`.`locale`, `meta_titleTranslations`.`model`, `meta_titleTranslations`.`foreign_key`, `meta_titleTranslations`.`field`, `meta_titleTranslations`.`content` FROM `parnay`.`i18n` AS `meta_titleTranslations` WHERE `model` = 'Page' AND `field` = 'meta_title' AND `meta_titleTranslations`.`foreign_key` = (61) | 2 | 2 | 0 | |
SELECT `meta_descriptionTranslations`.`id`, `meta_descriptionTranslations`.`locale`, `meta_descriptionTranslations`.`model`, `meta_descriptionTranslations`.`foreign_key`, `meta_descriptionTranslations`.`field`, `meta_descriptionTranslations`.`content` FROM `parnay`.`i18n` AS `meta_descriptionTranslations` WHERE `model` = 'Page' AND `field` = 'meta_description' AND `meta_descriptionTranslations`.`foreign_key` = (61) | 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 `parnay`.`pages` AS `Page` INNER JOIN `parnay`.`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 `parnay`.`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 `parnay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `parnay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE `Page`.`active` = '1' AND `Page`.`menu` = '1' ORDER BY `Page`.`lft` ASC | 38 | 38 | 0 | |
SELECT `Page`.`lft`, `Page`.`rght` FROM `parnay`.`pages` AS `Page` WHERE `Page`.`id` = 61 LIMIT 1 | 1 | 1 | 0 | |
SELECT `Page`.`id`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias` FROM `parnay`.`pages` AS `Page` INNER JOIN `parnay`.`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 `parnay`.`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` <= 23 AND `Page`.`rght` >= 24 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 `parnay`.`pages` AS `Page` INNER JOIN `parnay`.`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 `parnay`.`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 `parnay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `parnay`.`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 | 2 | 2 | 0 | |
SELECT `Page`.`lft`, `Page`.`rght`, `Page`.`id` FROM `parnay`.`pages` AS `Page` LEFT JOIN `parnay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `parnay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE `Page`.`id` = 61 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 `parnay`.`pages` AS `Page` INNER JOIN `parnay`.`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 `parnay`.`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 `parnay`.`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 `parnay`.`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 `parnay`.`templates` AS `Template` ON (`Page`.`template_id` = `Template`.`id`) LEFT JOIN `parnay`.`page_types` AS `PageType` ON (`Page`.`page_type_id` = `PageType`.`id`) WHERE 1 = 1 AND `Page`.`lft` <= 23 AND `Page`.`rght` >= 24 ORDER BY `Page`.`lft` asc | 1 | 1 | 1 | |
SELECT `Actualite`.`id`, `Actualite`.`name`, `Actualite`.`slug`, `Actualite`.`content`, `Actualite`.`image`, `Actualite`.`created`, `Actualite`.`debut_date`, `Actualite`.`fin_date` FROM `parnay`.`actualites` AS `Actualite` WHERE ((((`Actualite`.`debut_date` IS NULL) AND (`Actualite`.`fin_date` >= '2024-10-15'))) OR (((`Actualite`.`debut_date` <= '2024-10-15') AND (`Actualite`.`fin_date` IS NULL))) OR (((`Actualite`.`debut_date` <= '2024-10-15') AND (`Actualite`.`fin_date` >= '2024-10-15')))) LIMIT 10 | 4 | 4 | 1 | maybe slow |
SELECT COUNT(*) AS `count` FROM `parnay`.`actualites` AS `Actualite` WHERE ((((`Actualite`.`debut_date` IS NULL) AND (`Actualite`.`fin_date` >= '2024-10-15'))) OR (((`Actualite`.`debut_date` <= '2024-10-15') AND (`Actualite`.`fin_date` IS NULL))) OR (((`Actualite`.`debut_date` <= '2024-10-15') AND (`Actualite`.`fin_date` >= '2024-10-15')))) | 1 | 1 | 0 | |
SELECT `Evenement`.`id`, `Evenement`.`content`, `Evenement`.`date_debut`, `Evenement`.`date_fin`, `Evenement`.`created` FROM `parnay`.`evenements` AS `Evenement` WHERE ((((`Evenement`.`date_debut` >= '2024-10-15 23:59:59') AND (`Evenement`.`date_fin` IS NULL))) OR (((NOT (`Evenement`.`date_fin` IS NULL)) AND (`Evenement`.`date_fin` >= '2024-10-15 23:59:59')))) ORDER BY `Evenement`.`date_debut` DESC, `Evenement`.`date_fin` DESC | 0 | 0 | 0 | |
SELECT `Evenement`.`id`, `Evenement`.`content`, `Evenement`.`date_debut`, `Evenement`.`date_fin`, `Evenement`.`created` FROM `parnay`.`evenements` AS `Evenement` WHERE 1 ORDER BY `Evenement`.`date_debut` asc, `Evenement`.`date_fin` asc | 0 | 0 | 0 | |