1
0.36 ms
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . symbol AS symbol_2 , c0_ . rounding AS rounding_3 , c0_ . is_default AS is_default_4 , c0_ . default_locale AS default_locale_5 , c0_ . is_symbol_left AS is_symbol_left_6 , c0_ . is_deleted AS is_deleted_7 FROM currency c0_ WHERE c0_ . default_locale = ? LIMIT 1
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . symbol AS symbol_2 , c0_ . rounding AS rounding_3 , c0_ . is_default AS is_default_4 , c0_ . default_locale AS default_locale_5 , c0_ . is_symbol_left AS is_symbol_left_6 , c0_ . is_deleted AS is_deleted_7 FROM currency c0_ WHERE c0_ . default_locale = 'en' LIMIT 1 ;
Copy
2
0.28 ms
SELECT s0_ . value AS value_0 FROM settings s0_ WHERE s0_ . name = ? ORDER BY s0_ . name ASC LIMIT 1
Parameters :
[
"after_registration_discount "
]
SELECT s0_ . value AS value_0 FROM settings s0_ WHERE s0_ . name = 'after_registration_discount' ORDER BY s0_ . name ASC LIMIT 1 ;
Copy
3
0.44 ms
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = ? AND e0_ . object_class = ? AND e0_ . field = ? AND e0_ . content = ? LIMIT 1
Parameters :
[
"en "
"Greendot\EshopBundle\Entity\Project\Product "
"slug "
"okenni-pevna-sit-proti-hmyzu-ext-16 "
]
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = 'en' AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND e0_ . field = 'slug' AND e0_ . content = 'okenni-pevna-sit-proti-hmyzu-ext-16' LIMIT 1 ;
Copy
4
9.26 ms
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = ? ) AND (p0_ . is_active = true )
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = 60 ) AND (p0_ . is_active = true );
Copy
5
0.38 ms
SELECT a0_ . id AS id_0 , a0_ . name AS name_1 , a0_ . description AS description_2 , a0_ . class AS class_3 , a0_ . is_purchasable AS is_purchasable_4 , a0_ . sequence AS sequence_5 FROM availability a0_ LEFT JOIN product_variant p1_ ON a0_ . id = p1_ . availability_id AND (p1_ . is_active = true ) WHERE p1_ . product_id = ? ORDER BY a0_ . sequence ASC LIMIT 1
SELECT a0_ . id AS id_0 , a0_ . name AS name_1 , a0_ . description AS description_2 , a0_ . class AS class_3 , a0_ . is_purchasable AS is_purchasable_4 , a0_ . sequence AS sequence_5 FROM availability a0_ LEFT JOIN product_variant p1_ ON a0_ . id = p1_ . availability_id AND (p1_ . is_active = true ) WHERE p1_ . product_id = 60 ORDER BY a0_ . sequence ASC LIMIT 1 ;
Copy
6
0.32 ms
SELECT p0_ . data AS data_0 , p1_ . name AS name_1 FROM parameter p0_ LEFT JOIN product_variant p2_ ON p0_ . product_variant_id = p2_ . id AND (p2_ . is_active = true ) LEFT JOIN parameter_group p1_ ON p0_ . parameter_group_id = p1_ . id WHERE p2_ . product_id = ?
SELECT p0_ . data AS data_0 , p1_ . name AS name_1 FROM parameter p0_ LEFT JOIN product_variant p2_ ON p0_ . product_variant_id = p2_ . id AND (p2_ . is_active = true ) LEFT JOIN parameter_group p1_ ON p0_ . parameter_group_id = p1_ . id WHERE p2_ . product_id = 60 ;
Copy
7
0.25 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 FROM product_view_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 FROM product_view_type t0 WHERE t0 . id = 1 ;
Copy
8
0.35 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . controller_name AS controller_name_4 FROM menu_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . controller_name AS controller_name_4 FROM menu_type t0 WHERE t0 . id = '4' ;
Copy
9
15.68 ms
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . html ) AS html_4 , COALESCE (t5_ . content , p0_ . title ) AS title_5 , p0_ . is_active AS is_active_6 , COALESCE (t6_ . content , p0_ . slug ) AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p7_ ON p0_ . id = p7_ . category_sub_id LEFT JOIN category_menu_type c8_ ON p0_ . id = c8_ . category_id LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'html' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'title' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'slug' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t6_ . foreign_key = p0_ . id WHERE p0_ . is_active = ? AND p0_ . id > = ? AND p7_ . id IS NULL AND c8_ . menu_type_id = ? ORDER BY c8_ . sequence ASC
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . html ) AS html_4 , COALESCE (t5_ . content , p0_ . title ) AS title_5 , p0_ . is_active AS is_active_6 , COALESCE (t6_ . content , p0_ . slug ) AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p7_ ON p0_ . id = p7_ . category_sub_id LEFT JOIN category_menu_type c8_ ON p0_ . id = c8_ . category_id LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'html' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'title' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'slug' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t6_ . foreign_key = p0_ . id WHERE p0_ . is_active = 1 AND p0_ . id > = 2 AND p7_ . id IS NULL AND c8_ . menu_type_id = 4 ORDER BY c8_ . sequence ASC ;
Copy
10
0.54 ms
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = ? AND e0_ . object_class = ? AND e0_ . field = ? AND e0_ . content = ? LIMIT 1
Parameters :
[
"en "
"Greendot\EshopBundle\Entity\Project\Product "
"slug "
"okenni-pevna-sit-proti-hmyzu-ext-16 "
]
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = 'en' AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND e0_ . field = 'slug' AND e0_ . content = 'okenni-pevna-sit-proti-hmyzu-ext-16' LIMIT 1 ;
Copy
11
9.26 ms
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = ? ) AND (p0_ . is_active = true )
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = 60 ) AND (p0_ . is_active = true );
Copy
12
1.15 ms
SELECT e0_ . content AS content_0 , e0_ . field AS field_1 , e0_ . locale AS locale_2 FROM ext_translations e0_ WHERE e0_ . foreign_key = ? AND e0_ . object_class = ? ORDER BY e0_ . locale ASC
Parameters :
[
60
"Greendot\EshopBundle\Entity\Project\Product "
]
SELECT e0_ . content AS content_0 , e0_ . field AS field_1 , e0_ . locale AS locale_2 FROM ext_translations e0_ WHERE e0_ . foreign_key = 60 AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' ORDER BY e0_ . locale ASC ;
Copy
13
0.33 ms
SELECT p0_ . slug AS slug_0 FROM product p0_ WHERE (p0_ . id = ? ) AND (p0_ . is_active = true )
SELECT p0_ . slug AS slug_0 FROM product p0_ WHERE (p0_ . id = 60 ) AND (p0_ . is_active = true );
Copy
14
0.48 ms
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = ? AND e0_ . object_class = ? AND e0_ . field = ? AND e0_ . content = ? LIMIT 1
Parameters :
[
"en "
"Greendot\EshopBundle\Entity\Project\Product "
"slug "
"okenni-pevna-sit-proti-hmyzu-ext-16 "
]
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = 'en' AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND e0_ . field = 'slug' AND e0_ . content = 'okenni-pevna-sit-proti-hmyzu-ext-16' LIMIT 1 ;
Copy
15
9.22 ms
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = ? ) AND (p0_ . is_active = true )
SELECT p0_ . id AS id_0 , COALESCE (t1_ . content , p0_ . name ) AS name_1 , COALESCE (t2_ . content , p0_ . menu_name ) AS menu_name_2 , COALESCE (t3_ . content , p0_ . description ) AS description_3 , COALESCE (t4_ . content , p0_ . title ) AS title_4 , COALESCE (t5_ . content , p0_ . slug ) AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , COALESCE (t6_ . content , p0_ . text_general ) AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , COALESCE (t7_ . content , p0_ . meta_description ) AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ LEFT JOIN ext_translations t1_ ON t1_ . locale = 'en' AND t1_ . field = 'name' AND t1_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t1_ . foreign_key = p0_ . id LEFT JOIN ext_translations t2_ ON t2_ . locale = 'en' AND t2_ . field = 'menu_name' AND t2_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t2_ . foreign_key = p0_ . id LEFT JOIN ext_translations t3_ ON t3_ . locale = 'en' AND t3_ . field = 'description' AND t3_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t3_ . foreign_key = p0_ . id LEFT JOIN ext_translations t4_ ON t4_ . locale = 'en' AND t4_ . field = 'title' AND t4_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t4_ . foreign_key = p0_ . id LEFT JOIN ext_translations t5_ ON t5_ . locale = 'en' AND t5_ . field = 'slug' AND t5_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t5_ . foreign_key = p0_ . id LEFT JOIN ext_translations t6_ ON t6_ . locale = 'en' AND t6_ . field = 'textGeneral' AND t6_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t6_ . foreign_key = p0_ . id LEFT JOIN ext_translations t7_ ON t7_ . locale = 'en' AND t7_ . field = 'metaDescription' AND t7_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND t7_ . foreign_key = p0_ . id WHERE (p0_ . id = 60 ) AND (p0_ . is_active = true );
Copy
16
1.14 ms
SELECT e0_ . content AS content_0 , e0_ . field AS field_1 , e0_ . locale AS locale_2 FROM ext_translations e0_ WHERE e0_ . foreign_key = ? AND e0_ . object_class = ? ORDER BY e0_ . locale ASC
Parameters :
[
60
"Greendot\EshopBundle\Entity\Project\Product "
]
SELECT e0_ . content AS content_0 , e0_ . field AS field_1 , e0_ . locale AS locale_2 FROM ext_translations e0_ WHERE e0_ . foreign_key = 60 AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' ORDER BY e0_ . locale ASC ;
Copy
17
0.33 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = 4 ;
Copy
18
0.32 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = 1 ;
Copy
19
0.32 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = 15 ;
Copy
20
0.32 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 , t0 . slug_prefix AS slug_prefix_4 , t0 . controller_name AS controller_name_5 FROM category_type t0 WHERE t0 . id = 17 ;
Copy