| 1 |
2.12 ms |
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: [
"acooptest03.taller.fesomia.net"
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 = 'acooptest03.taller.fesomia.net' AND t0.enabled = 1 ORDER BY t0.id ASC LIMIT 1;
|
| 3 |
0.59 ms |
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 LIMIT 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 LIMIT 1;
|
| 5 |
2.08 ms |
SELECT
taxon.id AS taxon_id,
translation.locale,
translation.name,
translation.slug,
translation.description,
image.path AS banner_path
FROM sylius_taxon taxon
LEFT JOIN sylius_taxon_image image
ON image.owner_id = taxon.id
AND image.type = 'banner'
INNER JOIN sylius_taxon_translation translation
ON translation.translatable_id = taxon.id
WHERE taxon.parent_id IS NOT NULL
AND translation.name IS NOT NULL
AND translation.name <> ''
AND NOT EXISTS (
SELECT 1
FROM sylius_taxon child_taxon
WHERE child_taxon.parent_id = taxon.id
)
AND EXISTS (
SELECT 1
FROM b2b_catalog_item catalog_item
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.actor_id = catalog_item.vendor_actor_id
INNER JOIN b2b_actor actor ON actor.id = catalog_item.vendor_actor_id
INNER JOIN vendor b2c_vendor ON b2c_vendor.id = vendor_actor.vendor_id
WHERE catalog_item.category_taxon_id = taxon.id
AND actor.status = 'active'
AND b2c_vendor.enabled = 1
)
ORDER BY taxon.id ASC, translation.locale ASC
SELECT
taxon.id AS taxon_id,
translation.locale,
translation.name,
translation.slug,
translation.description,
image.path AS banner_path
FROM sylius_taxon taxon
LEFT JOIN sylius_taxon_image image
ON image.owner_id = taxon.id
AND image.type = 'banner'
INNER JOIN sylius_taxon_translation translation
ON translation.translatable_id = taxon.id
WHERE taxon.parent_id IS NOT NULL
AND translation.name IS NOT NULL
AND translation.name <> ''
AND NOT EXISTS (
SELECT 1
FROM sylius_taxon child_taxon
WHERE child_taxon.parent_id = taxon.id
)
AND EXISTS (
SELECT 1
FROM b2b_catalog_item catalog_item
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.actor_id = catalog_item.vendor_actor_id
INNER JOIN b2b_actor actor ON actor.id = catalog_item.vendor_actor_id
INNER JOIN vendor b2c_vendor ON b2c_vendor.id = vendor_actor.vendor_id
WHERE catalog_item.category_taxon_id = taxon.id
AND actor.status = 'active'
AND b2c_vendor.enabled = 1
)
ORDER BY taxon.id ASC, translation.locale ASC;
|
| 6 |
0.82 ms |
SELECT DISTINCT
actor.id AS actor_id,
vendor.id AS vendor_id,
vendor.slug,
vendor.name,
logo.path AS image_path
FROM b2b_catalog_item catalog_item
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.actor_id = catalog_item.vendor_actor_id
INNER JOIN vendor ON vendor.id = vendor_actor.vendor_id
INNER JOIN b2b_actor actor ON actor.id = vendor_actor.actor_id
LEFT JOIN vendor_logo logo ON logo.owner_id = vendor.id
WHERE catalog_item.category_taxon_id = ?
AND vendor.enabled = 1
AND actor.status = 'active'
ORDER BY vendor.name ASC, vendor.id ASC
SELECT DISTINCT
actor.id AS actor_id,
vendor.id AS vendor_id,
vendor.slug,
vendor.name,
logo.path AS image_path
FROM b2b_catalog_item catalog_item
INNER JOIN b2b_vendor_actor vendor_actor ON vendor_actor.actor_id = catalog_item.vendor_actor_id
INNER JOIN vendor ON vendor.id = vendor_actor.vendor_id
INNER JOIN b2b_actor actor ON actor.id = vendor_actor.actor_id
LEFT JOIN vendor_logo logo ON logo.owner_id = vendor.id
WHERE catalog_item.category_taxon_id = 38
AND vendor.enabled = 1
AND actor.status = 'active'
ORDER BY vendor.name ASC, vendor.id ASC;
|