1.09 ms (18.74%)
|
4 |
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ WHERE l0_.code = ? ORDER BY l0_.id ASC LIMIT 1
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ WHERE l0_.code = 'pl' ORDER BY l0_.id ASC LIMIT 1;
|
0.87 ms (14.93%)
|
4 |
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ WHERE l0_.is_default = 1 ORDER BY l0_.id ASC LIMIT 1
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ WHERE l0_.is_default = 1 ORDER BY l0_.id ASC LIMIT 1;
|
0.49 ms (8.43%)
|
2 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.target AS target_4, t0.position AS position_5, t0.menu_id AS menu_id_6, t0.parent_id AS parent_id_7 FROM navigation_item t0 WHERE t0.parent_id = ? ORDER BY t0.position ASC
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.target AS target_4, t0.position AS position_5, t0.menu_id AS menu_id_6, t0.parent_id AS parent_id_7 FROM navigation_item t0 WHERE t0.parent_id = 1 ORDER BY t0.position ASC;
|
0.31 ms (5.34%)
|
1 |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.meta_title AS meta_title_3, p0_.meta_description AS meta_description_4, p0_.meta_keywords AS meta_keywords_5, p0_.og_title AS og_title_6, p0_.og_description AS og_description_7, p0_.og_image AS og_image_8, p0_.is_published AS is_published_9, p0_.created_at AS created_at_10, p0_.updated_at AS updated_at_11, p0_.page_id AS page_id_12, p0_.language_id AS language_id_13 FROM page_translation p0_ INNER JOIN page p1_ ON p0_.page_id = p1_.id WHERE p0_.language_id = ? AND p0_.is_published = 1 AND p1_.is_homepage = 1 AND p1_.deleted_at IS NULL AND p1_.site_id = ? ORDER BY p0_.id ASC LIMIT 1
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.meta_title AS meta_title_3, p0_.meta_description AS meta_description_4, p0_.meta_keywords AS meta_keywords_5, p0_.og_title AS og_title_6, p0_.og_description AS og_description_7, p0_.og_image AS og_image_8, p0_.is_published AS is_published_9, p0_.created_at AS created_at_10, p0_.updated_at AS updated_at_11, p0_.page_id AS page_id_12, p0_.language_id AS language_id_13 FROM page_translation p0_ INNER JOIN page p1_ ON p0_.page_id = p1_.id WHERE p0_.language_id = 1 AND p0_.is_published = 1 AND p1_.is_homepage = 1 AND p1_.deleted_at IS NULL AND p1_.site_id = 1 ORDER BY p0_.id ASC LIMIT 1;
|
0.29 ms (5.05%)
|
1 |
SELECT DISTINCT s0_.subdomain AS subdomain_0 FROM site s0_ WHERE s0_.is_active = ? AND s0_.subdomain IS NOT NULL AND s0_.subdomain <> ?
SELECT DISTINCT s0_.subdomain AS subdomain_0 FROM site s0_ WHERE s0_.is_active = 1 AND s0_.subdomain IS NOT NULL AND s0_.subdomain <> '';
|
0.29 ms (4.98%)
|
1 |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.subdomain AS subdomain_2, s0_.is_active AS is_active_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM site s0_ WHERE (s0_.subdomain IS NULL OR s0_.subdomain = ?) AND s0_.is_active = ? ORDER BY s0_.id ASC LIMIT 1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.subdomain AS subdomain_2, s0_.is_active AS is_active_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM site s0_ WHERE (s0_.subdomain IS NULL OR s0_.subdomain = '') AND s0_.is_active = 1 ORDER BY s0_.id ASC LIMIT 1;
|
0.28 ms (4.88%)
|
1 |
SELECT t0.id AS id_1, t0.content AS content_2, t0.position AS position_3, t0.visible AS visible_4, t0.page_translation_id AS page_translation_id_5, t0.blog_post_translation_id AS blog_post_translation_id_6, t0.definition_id AS definition_id_7 FROM block_instance t0 WHERE t0.page_translation_id = ? ORDER BY t0.position ASC
SELECT t0.id AS id_1, t0.content AS content_2, t0.position AS position_3, t0.visible AS visible_4, t0.page_translation_id AS page_translation_id_5, t0.blog_post_translation_id AS blog_post_translation_id_6, t0.definition_id AS definition_id_7 FROM block_instance t0 WHERE t0.page_translation_id = 5 ORDER BY t0.position ASC;
|
0.27 ms (4.71%)
|
1 |
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.handle AS handle_2, n0_.site_id AS site_id_3, n0_.language_id AS language_id_4 FROM navigation_menu n0_ INNER JOIN language l1_ ON n0_.language_id = l1_.id WHERE n0_.handle = ? AND l1_.code = ? AND n0_.site_id = ? ORDER BY n0_.id ASC LIMIT 1
Parameters: [
"main-menu"
"pl"
1
]
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.handle AS handle_2, n0_.site_id AS site_id_3, n0_.language_id AS language_id_4 FROM navigation_menu n0_ INNER JOIN language l1_ ON n0_.language_id = l1_.id WHERE n0_.handle = 'main-menu' AND l1_.code = 'pl' AND n0_.site_id = 1 ORDER BY n0_.id ASC LIMIT 1;
|
0.27 ms (4.71%)
|
1 |
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.handle AS handle_2, n0_.site_id AS site_id_3, n0_.language_id AS language_id_4 FROM navigation_menu n0_ INNER JOIN language l1_ ON n0_.language_id = l1_.id WHERE n0_.handle = ? AND l1_.code = ? AND n0_.site_id IS NULL ORDER BY n0_.id ASC LIMIT 1
Parameters: [
"main-menu"
"pl"
]
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.handle AS handle_2, n0_.site_id AS site_id_3, n0_.language_id AS language_id_4 FROM navigation_menu n0_ INNER JOIN language l1_ ON n0_.language_id = l1_.id WHERE n0_.handle = 'main-menu' AND l1_.code = 'pl' AND n0_.site_id IS NULL ORDER BY n0_.id ASC LIMIT 1;
|
0.27 ms (4.65%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.styles AS styles_3, t0.associated_template AS associated_template_4, t0.site_id AS site_id_5 FROM asset_set t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.styles AS styles_3, t0.associated_template AS associated_template_4, t0.site_id AS site_id_5 FROM asset_set t0 WHERE t0.id = 1;
|
0.26 ms (4.41%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.target AS target_4, t0.position AS position_5, t0.menu_id AS menu_id_6, t0.parent_id AS parent_id_7 FROM navigation_item t0 WHERE t0.menu_id = ? ORDER BY t0.position ASC
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.target AS target_4, t0.position AS position_5, t0.menu_id AS menu_id_6, t0.parent_id AS parent_id_7 FROM navigation_item t0 WHERE t0.menu_id = 1 ORDER BY t0.position ASC;
|
0.24 ms (4.21%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.meta_keywords AS meta_keywords_6, t0.og_title AS og_title_7, t0.og_description AS og_description_8, t0.og_image AS og_image_9, t0.is_published AS is_published_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.page_id AS page_id_13, t0.language_id AS language_id_14 FROM page_translation t0 WHERE t0.page_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.meta_keywords AS meta_keywords_6, t0.og_title AS og_title_7, t0.og_description AS og_description_8, t0.og_image AS og_image_9, t0.is_published AS is_published_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.page_id AS page_id_13, t0.language_id AS language_id_14 FROM page_translation t0 WHERE t0.page_id = 2;
|
0.24 ms (4.10%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.template AS template_4, t0.meta_title AS meta_title_5, t0.meta_description AS meta_description_6, t0.meta_keywords AS meta_keywords_7, t0.og_title AS og_title_8, t0.og_description AS og_description_9, t0.og_image AS og_image_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.deleted_at AS deleted_at_13, t0.is_homepage AS is_homepage_14, t0.asset_set_id AS asset_set_id_15, t0.site_id AS site_id_16 FROM page t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.template AS template_4, t0.meta_title AS meta_title_5, t0.meta_description AS meta_description_6, t0.meta_keywords AS meta_keywords_7, t0.og_title AS og_title_8, t0.og_description AS og_description_9, t0.og_image AS og_image_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.deleted_at AS deleted_at_13, t0.is_homepage AS is_homepage_14, t0.asset_set_id AS asset_set_id_15, t0.site_id AS site_id_16 FROM page t0 WHERE t0.id = 2;
|
0.23 ms (3.93%)
|
1 |
SELECT a0_.id AS id_0, a0_.blog_prefix AS blog_prefix_1, a0_.custom_head_code AS custom_head_code_2, a0_.custom_footer_code AS custom_footer_code_3 FROM app_configuration a0_ LIMIT 1
SELECT a0_.id AS id_0, a0_.blog_prefix AS blog_prefix_1, a0_.custom_head_code AS custom_head_code_2, a0_.custom_footer_code AS custom_footer_code_3 FROM app_configuration a0_ LIMIT 1;
|
0.21 ms (3.64%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.handle AS handle_3, t0.fields AS fields_4 FROM block_definition t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.handle AS handle_3, t0.fields AS fields_4 FROM block_definition t0 WHERE t0.id = 3;
|
0.19 ms (3.31%)
|
1 |
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ ORDER BY l0_.is_default DESC, l0_.name ASC
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.is_default AS is_default_3, l0_.created_at AS created_at_4 FROM language l0_ ORDER BY l0_.is_default DESC, l0_.name ASC;
|