3.88 ms (6.12%)
|
1 |
SELECT s0_.code AS code_0, s0_.created_at AS created_at_1, s0_.updated_at AS updated_at_2, s0_.enabled AS enabled_3, s0_.id AS id_4, s0_.variant_selection_method AS variant_selection_method_5, s0_.average_rating AS average_rating_6, s0_.code AS code_7, s0_.created_at AS created_at_8, s0_.updated_at AS updated_at_9, s0_.enabled AS enabled_10, s0_.id AS id_11, s0_.variant_selection_method AS variant_selection_method_12, s0_.average_rating AS average_rating_13, s1_.name AS name_14, s1_.slug AS slug_15, s1_.description AS description_16, s1_.meta_keywords AS meta_keywords_17, s1_.meta_description AS meta_description_18, s1_.id AS id_19, s1_.short_description AS short_description_20, s1_.descriptionEquipement AS descriptionEquipement_21, s1_.youtubeVideoUrl AS youtubeVideoUrl_22, s1_.locale AS locale_23, s2_.code AS code_24, s2_.created_at AS created_at_25, s2_.updated_at AS updated_at_26, s2_.position AS position_27, s2_.enabled AS enabled_28, s2_.id AS id_29, s2_.version AS version_30, s2_.on_hold AS on_hold_31, s2_.on_hand AS on_hand_32, s2_.tracked AS tracked_33, s2_.width AS width_34, s2_.height AS height_35, s2_.depth AS depth_36, s2_.weight AS weight_37, s2_.shipping_required AS shipping_required_38, s2_.recurring AS recurring_39, s2_.recurring_times AS recurring_times_40, s2_.recurring_interval AS recurring_interval_41, s3_.created_at AS created_at_42, s3_.updated_at AS updated_at_43, s3_.id AS id_44, s4_.code AS code_45, s4_.tree_left AS tree_left_46, s4_.tree_right AS tree_right_47, s4_.tree_level AS tree_level_48, s4_.position AS position_49, s4_.enabled AS enabled_50, s4_.id AS id_51, s4_.created_at AS created_at_52, s4_.updated_at AS updated_at_53, s5_.position AS position_54, s5_.id AS id_55, s6_.type AS type_56, s6_.path AS path_57, s6_.id AS id_58, s6_.position AS position_59, s7_.code AS code_60, s7_.position AS position_61, s7_.created_at AS created_at_62, s7_.updated_at AS updated_at_63, s7_.id AS id_64, s0_.main_taxon_id AS main_taxon_id_65, s0_.product_type_id AS product_type_id_66, s1_.translatable_id AS translatable_id_67, s2_.product_id AS product_id_68, s2_.tax_category_id AS tax_category_id_69, s2_.shipping_category_id AS shipping_category_id_70, s3_.association_type_id AS association_type_id_71, s3_.product_id AS product_id_72, s4_.tree_root AS tree_root_73, s4_.parent_id AS parent_id_74, s5_.product_id AS product_id_75, s5_.taxon_id AS taxon_id_76, s6_.owner_id AS owner_id_77 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = ?) LEFT JOIN sylius_product_variant s2_ ON s0_.id = s2_.product_id AND (s2_.enabled = ?) LEFT JOIN sylius_product_association s3_ ON s0_.id = s3_.product_id LEFT JOIN sylius_product_association_product s9_ ON s3_.id = s9_.association_id LEFT JOIN sylius_product s8_ ON s8_.id = s9_.product_id AND (s8_.enabled = 1 AND s3_.product_id = s0_.id) LEFT JOIN sylius_taxon s4_ ON s0_.main_taxon_id = s4_.id LEFT JOIN sylius_product_taxon s5_ ON s0_.id = s5_.product_id LEFT JOIN sylius_product_image s6_ ON s0_.id = s6_.owner_id LEFT JOIN sylius_product_options s10_ ON s0_.id = s10_.product_id LEFT JOIN sylius_product_option s7_ ON s7_.id = s10_.option_id WHERE EXISTS (SELECT 1 FROM sylius_product_channels s11_ WHERE s11_.product_id = s0_.id AND s11_.channel_id IN (?)) AND s0_.enabled = ? AND ((SELECT COUNT(*) FROM sylius_product_association s12_ WHERE s12_.product_id = s0_.id) = 0 OR s8_.id IS NOT NULL) AND s0_.id IN (?, ?, ?, ?) ORDER BY s0_.code ASC, s0_.id ASC, s2_.position ASC, s2_.id ASC, s3_.id ASC, s5_.id ASC, s6_.position ASC, s6_.id ASC, s7_.position ASC, s7_.id ASC
Parameters: [
"fr"
1
3
1
1
2
3
4
]
SELECT
s0_.code AS code_0,
s0_.created_at AS created_at_1,
s0_.updated_at AS updated_at_2,
s0_.enabled AS enabled_3,
s0_.id AS id_4,
s0_.variant_selection_method AS variant_selection_method_5,
s0_.average_rating AS average_rating_6,
s0_.code AS code_7,
s0_.created_at AS created_at_8,
s0_.updated_at AS updated_at_9,
s0_.enabled AS enabled_10,
s0_.id AS id_11,
s0_.variant_selection_method AS variant_selection_method_12,
s0_.average_rating AS average_rating_13,
s1_.name AS name_14,
s1_.slug AS slug_15,
s1_.description AS description_16,
s1_.meta_keywords AS meta_keywords_17,
s1_.meta_description AS meta_description_18,
s1_.id AS id_19,
s1_.short_description AS short_description_20,
s1_.descriptionEquipement AS descriptionEquipement_21,
s1_.youtubeVideoUrl AS youtubeVideoUrl_22,
s1_.locale AS locale_23,
s2_.code AS code_24,
s2_.created_at AS created_at_25,
s2_.updated_at AS updated_at_26,
s2_.position AS position_27,
s2_.enabled AS enabled_28,
s2_.id AS id_29,
s2_.version AS version_30,
s2_.on_hold AS on_hold_31,
s2_.on_hand AS on_hand_32,
s2_.tracked AS tracked_33,
s2_.width AS width_34,
s2_.height AS height_35,
s2_.depth AS depth_36,
s2_.weight AS weight_37,
s2_.shipping_required AS shipping_required_38,
s2_.recurring AS recurring_39,
s2_.recurring_times AS recurring_times_40,
s2_.recurring_interval AS recurring_interval_41,
s3_.created_at AS created_at_42,
s3_.updated_at AS updated_at_43,
s3_.id AS id_44,
s4_.code AS code_45,
s4_.tree_left AS tree_left_46,
s4_.tree_right AS tree_right_47,
s4_.tree_level AS tree_level_48,
s4_.position AS position_49,
s4_.enabled AS enabled_50,
s4_.id AS id_51,
s4_.created_at AS created_at_52,
s4_.updated_at AS updated_at_53,
s5_.position AS position_54,
s5_.id AS id_55,
s6_.type AS type_56,
s6_.path AS path_57,
s6_.id AS id_58,
s6_.position AS position_59,
s7_.code AS code_60,
s7_.position AS position_61,
s7_.created_at AS created_at_62,
s7_.updated_at AS updated_at_63,
s7_.id AS id_64,
s0_.main_taxon_id AS main_taxon_id_65,
s0_.product_type_id AS product_type_id_66,
s1_.translatable_id AS translatable_id_67,
s2_.product_id AS product_id_68,
s2_.tax_category_id AS tax_category_id_69,
s2_.shipping_category_id AS shipping_category_id_70,
s3_.association_type_id AS association_type_id_71,
s3_.product_id AS product_id_72,
s4_.tree_root AS tree_root_73,
s4_.parent_id AS parent_id_74,
s5_.product_id AS product_id_75,
s5_.taxon_id AS taxon_id_76,
s6_.owner_id AS owner_id_77
FROM
sylius_product s0_
INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id
AND (s1_.locale = ?)
LEFT JOIN sylius_product_variant s2_ ON s0_.id = s2_.product_id
AND (s2_.enabled = ?)
LEFT JOIN sylius_product_association s3_ ON s0_.id = s3_.product_id
LEFT JOIN sylius_product_association_product s9_ ON s3_.id = s9_.association_id
LEFT JOIN sylius_product s8_ ON s8_.id = s9_.product_id
AND (
s8_.enabled = 1
AND s3_.product_id = s0_.id
)
LEFT JOIN sylius_taxon s4_ ON s0_.main_taxon_id = s4_.id
LEFT JOIN sylius_product_taxon s5_ ON s0_.id = s5_.product_id
LEFT JOIN sylius_product_image s6_ ON s0_.id = s6_.owner_id
LEFT JOIN sylius_product_options s10_ ON s0_.id = s10_.product_id
LEFT JOIN sylius_product_option s7_ ON s7_.id = s10_.option_id
WHERE
EXISTS (
SELECT
1
FROM
sylius_product_channels s11_
WHERE
s11_.product_id = s0_.id
AND s11_.channel_id IN (?)
)
AND s0_.enabled = ?
AND (
(
SELECT
COUNT(*)
FROM
sylius_product_association s12_
WHERE
s12_.product_id = s0_.id
) = 0
OR s8_.id IS NOT NULL
)
AND s0_.id IN (?, ?, ?, ?)
ORDER BY
s0_.code ASC,
s0_.id ASC,
s2_.position ASC,
s2_.id ASC,
s3_.id ASC,
s5_.id ASC,
s6_.position ASC,
s6_.id ASC,
s7_.position ASC,
s7_.id ASC
SELECT s0_.code AS code_0, s0_.created_at AS created_at_1, s0_.updated_at AS updated_at_2, s0_.enabled AS enabled_3, s0_.id AS id_4, s0_.variant_selection_method AS variant_selection_method_5, s0_.average_rating AS average_rating_6, s0_.code AS code_7, s0_.created_at AS created_at_8, s0_.updated_at AS updated_at_9, s0_.enabled AS enabled_10, s0_.id AS id_11, s0_.variant_selection_method AS variant_selection_method_12, s0_.average_rating AS average_rating_13, s1_.name AS name_14, s1_.slug AS slug_15, s1_.description AS description_16, s1_.meta_keywords AS meta_keywords_17, s1_.meta_description AS meta_description_18, s1_.id AS id_19, s1_.short_description AS short_description_20, s1_.descriptionEquipement AS descriptionEquipement_21, s1_.youtubeVideoUrl AS youtubeVideoUrl_22, s1_.locale AS locale_23, s2_.code AS code_24, s2_.created_at AS created_at_25, s2_.updated_at AS updated_at_26, s2_.position AS position_27, s2_.enabled AS enabled_28, s2_.id AS id_29, s2_.version AS version_30, s2_.on_hold AS on_hold_31, s2_.on_hand AS on_hand_32, s2_.tracked AS tracked_33, s2_.width AS width_34, s2_.height AS height_35, s2_.depth AS depth_36, s2_.weight AS weight_37, s2_.shipping_required AS shipping_required_38, s2_.recurring AS recurring_39, s2_.recurring_times AS recurring_times_40, s2_.recurring_interval AS recurring_interval_41, s3_.created_at AS created_at_42, s3_.updated_at AS updated_at_43, s3_.id AS id_44, s4_.code AS code_45, s4_.tree_left AS tree_left_46, s4_.tree_right AS tree_right_47, s4_.tree_level AS tree_level_48, s4_.position AS position_49, s4_.enabled AS enabled_50, s4_.id AS id_51, s4_.created_at AS created_at_52, s4_.updated_at AS updated_at_53, s5_.position AS position_54, s5_.id AS id_55, s6_.type AS type_56, s6_.path AS path_57, s6_.id AS id_58, s6_.position AS position_59, s7_.code AS code_60, s7_.position AS position_61, s7_.created_at AS created_at_62, s7_.updated_at AS updated_at_63, s7_.id AS id_64, s0_.main_taxon_id AS main_taxon_id_65, s0_.product_type_id AS product_type_id_66, s1_.translatable_id AS translatable_id_67, s2_.product_id AS product_id_68, s2_.tax_category_id AS tax_category_id_69, s2_.shipping_category_id AS shipping_category_id_70, s3_.association_type_id AS association_type_id_71, s3_.product_id AS product_id_72, s4_.tree_root AS tree_root_73, s4_.parent_id AS parent_id_74, s5_.product_id AS product_id_75, s5_.taxon_id AS taxon_id_76, s6_.owner_id AS owner_id_77 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = 'fr') LEFT JOIN sylius_product_variant s2_ ON s0_.id = s2_.product_id AND (s2_.enabled = 1) LEFT JOIN sylius_product_association s3_ ON s0_.id = s3_.product_id LEFT JOIN sylius_product_association_product s9_ ON s3_.id = s9_.association_id LEFT JOIN sylius_product s8_ ON s8_.id = s9_.product_id AND (s8_.enabled = 1 AND s3_.product_id = s0_.id) LEFT JOIN sylius_taxon s4_ ON s0_.main_taxon_id = s4_.id LEFT JOIN sylius_product_taxon s5_ ON s0_.id = s5_.product_id LEFT JOIN sylius_product_image s6_ ON s0_.id = s6_.owner_id LEFT JOIN sylius_product_options s10_ ON s0_.id = s10_.product_id LEFT JOIN sylius_product_option s7_ ON s7_.id = s10_.option_id WHERE EXISTS (SELECT 1 FROM sylius_product_channels s11_ WHERE s11_.product_id = s0_.id AND s11_.channel_id IN (3)) AND s0_.enabled = 1 AND ((SELECT COUNT(*) FROM sylius_product_association s12_ WHERE s12_.product_id = s0_.id) = 0 OR s8_.id IS NOT NULL) AND s0_.id IN (1, 2, 3, 4) ORDER BY s0_.code ASC, s0_.id ASC, s2_.position ASC, s2_.id ASC, s3_.id ASC, s5_.id ASC, s6_.position ASC, s6_.id ASC, s7_.position ASC, s7_.id ASC;
|
1.29 ms (2.04%)
|
2 |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.id = ?
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.id = 1;
|
1.02 ms (1.60%)
|
1 |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1
Parameters: [
"dimaco-back-preprod.kwantic.dev"
1
]
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = 'dimaco-back-preprod.kwantic.dev' AND t0.enabled = 1 ORDER BY t0.id ASC LIMIT 1;
|