1
0.55 ms
SELECT `key` , `value` FROM `app_config`
SELECT `key` , `value` FROM `app_config` ;
Copy
2
0.64 ms
SELECT
`name` ,
`base_class` AS baseClass ,
IF (`active` = 1 AND `installed_at` IS NOT NULL , 1 , 0 ) AS active ,
`path` ,
`version` ,
`autoload` ,
`managed_by_composer` AS managedByComposer ,
composer_name as composerName
FROM `plugin`
ORDER BY `installed_at` ;
SELECT
`name` ,
`base_class` AS baseClass ,
IF (`active` = 1 AND `installed_at` IS NOT NULL , 1 , 0 ) AS active ,
`path` ,
`version` ,
`autoload` ,
`managed_by_composer` AS managedByComposer ,
composer_name as composerName
FROM `plugin`
ORDER BY `installed_at` ; ;
Copy
3
0.62 ms
SELECT `key` , `value` FROM `app_config`
SELECT `key` , `value` FROM `app_config` ;
Copy
4
0.57 ms
SELECT custom_entity . name , custom_entity . fields , custom_entity . flags
FROM custom_entity
LEFT JOIN app ON app . id = custom_entity . app_id
WHERE (custom_entity . app_id IS NULL OR app . active = 1 ) AND custom_entity . deleted_at IS NULL ;
SELECT custom_entity . name , custom_entity . fields , custom_entity . flags
FROM custom_entity
LEFT JOIN app ON app . id = custom_entity . app_id
WHERE (custom_entity . app_id IS NULL OR app . active = 1 ) AND custom_entity . deleted_at IS NULL ;
;
Copy
5
0.22 ms
SET @@group_concat_max_len = CAST (IF (@@group_concat_max_len > 320000 , @@group_concat_max_len , 320000 ) AS UNSIGNED ); SET sql_mode = (SELECT REPLACE (@@sql_mode , 'ONLY_FULL_GROUP_BY' , '' ))
SET @@group_concat_max_len = CAST (IF (@@group_concat_max_len > 320000 , @@group_concat_max_len , 320000 ) AS UNSIGNED ); SET sql_mode = (SELECT REPLACE (@@sql_mode , 'ONLY_FULL_GROUP_BY' , '' ));
Copy
6
1.11 ms
SELECT CONCAT (TRIM (TRAILING '/' FROM domain . url ), '/' ) `key` , CONCAT (TRIM (TRAILING '/' FROM domain . url ), '/' ) url , LOWER (HEX (domain . id )) id , LOWER (HEX (sales_channel . id )) salesChannelId , LOWER (HEX (sales_channel . type_id )) typeId , LOWER (HEX (domain . snippet_set_id )) snippetSetId , LOWER (HEX (domain . currency_id )) currencyId , LOWER (HEX (domain . language_id )) languageId , LOWER (HEX (theme . id )) themeId , sales_channel . maintenance maintenance , sales_channel . maintenance_ip_whitelist maintenanceIpWhitelist , snippet_set . iso as locale , theme . technical_name as themeName , parentTheme . technical_name as parentThemeName FROM sales_channel INNER JOIN sales_channel_domain domain ON domain . sales_channel_id = sales_channel . id LEFT JOIN theme_sales_channel theme_sales_channel ON sales_channel . id = theme_sales_channel . sales_channel_id INNER JOIN snippet_set snippet_set ON snippet_set . id = domain . snippet_set_id LEFT JOIN theme theme ON theme_sales_channel . theme_id = theme . id LEFT JOIN theme parentTheme ON theme . parent_theme_id = parentTheme . id WHERE (sales_channel . type_id = UNHEX (? )) AND (sales_channel . active )
Parameters :
[
"8a243080f92e4c719546314b577cf82b "
]
SELECT CONCAT (TRIM (TRAILING '/' FROM domain . url ), '/' ) `key` , CONCAT (TRIM (TRAILING '/' FROM domain . url ), '/' ) url , LOWER (HEX (domain . id )) id , LOWER (HEX (sales_channel . id )) salesChannelId , LOWER (HEX (sales_channel . type_id )) typeId , LOWER (HEX (domain . snippet_set_id )) snippetSetId , LOWER (HEX (domain . currency_id )) currencyId , LOWER (HEX (domain . language_id )) languageId , LOWER (HEX (theme . id )) themeId , sales_channel . maintenance maintenance , sales_channel . maintenance_ip_whitelist maintenanceIpWhitelist , snippet_set . iso as locale , theme . technical_name as themeName , parentTheme . technical_name as parentThemeName FROM sales_channel INNER JOIN sales_channel_domain domain ON domain . sales_channel_id = sales_channel . id LEFT JOIN theme_sales_channel theme_sales_channel ON sales_channel . id = theme_sales_channel . sales_channel_id INNER JOIN snippet_set snippet_set ON snippet_set . id = domain . snippet_set_id LEFT JOIN theme theme ON theme_sales_channel . theme_id = theme . id LEFT JOIN theme parentTheme ON theme . parent_theme_id = parentTheme . id WHERE (sales_channel . type_id = UNHEX ('8a243080f92e4c719546314b577cf82b' )) AND (sales_channel . active );
Copy
7
0.65 ms
SELECT id , path_info pathInfo , is_canonical isCanonical , sales_channel_id salesChannelId FROM seo_url WHERE (language_id = ? ) AND ((sales_channel_id = ? OR sales_channel_id IS NULL )) AND ((seo_path_info = ? OR seo_path_info = ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
"Kundenwunsch-3007798486/SW10080 "
"Kundenwunsch-3007798486/SW10080/ "
]
SELECT id , path_info pathInfo , is_canonical isCanonical , sales_channel_id salesChannelId FROM seo_url WHERE (language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) AND ((sales_channel_id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE OR sales_channel_id IS NULL )) AND ((seo_path_info = 'Kundenwunsch-3007798486/SW10080' OR seo_path_info = 'Kundenwunsch-3007798486/SW10080/' ));
Copy
8
0.99 ms
SELECT configuration_key , configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC
SELECT configuration_key , configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC ;
Copy
9
0.53 ms
SELECT `name` , `path` , `author`
FROM `app`
WHERE `active` = 1
SELECT `name` , `path` , `author`
FROM `app`
WHERE `active` = 1
;
Copy
10
0.63 ms
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = ? ) AND (token = ? ) LIMIT 1
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE ) AND (token = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ) LIMIT 1 ;
Copy
11
0.64 ms
SELECT
sales_channel . id as sales_channel_id ,
sales_channel . language_id as sales_channel_default_language_id ,
sales_channel . currency_id as sales_channel_currency_id ,
currency . factor as sales_channel_currency_factor ,
GROUP_CONCAT (LOWER (HEX (sales_channel_language . language_id ))) as sales_channel_language_ids
FROM sales_channel
INNER JOIN currency
ON sales_channel . currency_id = currency . id
LEFT JOIN sales_channel_language
ON sales_channel_language . sales_channel_id = sales_channel . id
WHERE sales_channel . id = ?
GROUP BY sales_channel . id , sales_channel . language_id , sales_channel . currency_id , currency . factor
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT
sales_channel . id as sales_channel_id ,
sales_channel . language_id as sales_channel_default_language_id ,
sales_channel . currency_id as sales_channel_currency_id ,
currency . factor as sales_channel_currency_factor ,
GROUP_CONCAT (LOWER (HEX (sales_channel_language . language_id ))) as sales_channel_language_ids
FROM sales_channel
INNER JOIN currency
ON sales_channel . currency_id = currency . id
LEFT JOIN sales_channel_language
ON sales_channel_language . sales_channel_id = sales_channel . id
WHERE sales_channel . id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE
GROUP BY sales_channel . id , sales_channel . language_id , sales_channel . currency_id , currency . factor ;
Copy
12
1.65 ms
SELECT `sales_channel` . `id` as `sales_channel.id` , `sales_channel` . `type_id` as `sales_channel.typeId` , `sales_channel` . `language_id` as `sales_channel.languageId` , `sales_channel` . `customer_group_id` as `sales_channel.customerGroupId` , `sales_channel` . `currency_id` as `sales_channel.currencyId` , `sales_channel` . `payment_method_id` as `sales_channel.paymentMethodId` , `sales_channel` . `shipping_method_id` as `sales_channel.shippingMethodId` , `sales_channel` . `country_id` as `sales_channel.countryId` , `sales_channel` . `analytics_id` as `sales_channel.analyticsId` , `sales_channel` . `navigation_category_id` as `sales_channel.navigationCategoryId` , `sales_channel` . `navigation_category_version_id` as `sales_channel.navigationCategoryVersionId` , `sales_channel` . `navigation_category_depth` as `sales_channel.navigationCategoryDepth` , `sales_channel` . `footer_category_id` as `sales_channel.footerCategoryId` , `sales_channel` . `footer_category_version_id` as `sales_channel.footerCategoryVersionId` , `sales_channel` . `service_category_id` as `sales_channel.serviceCategoryId` , `sales_channel` . `service_category_version_id` as `sales_channel.serviceCategoryVersionId` , `sales_channel` . `mail_header_footer_id` as `sales_channel.mailHeaderFooterId` , `sales_channel` . `hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId` , `sales_channel` . `short_name` as `sales_channel.shortName` , `sales_channel` . `tax_calculation_type` as `sales_channel.taxCalculationType` , `sales_channel` . `access_key` as `sales_channel.accessKey` , `sales_channel` . `configuration` as `sales_channel.configuration` , `sales_channel` . `active` as `sales_channel.active` , `sales_channel` . `hreflang_active` as `sales_channel.hreflangActive` , `sales_channel` . `maintenance` as `sales_channel.maintenance` , `sales_channel` . `maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist` , `sales_channel` . `payment_method_ids` as `sales_channel.paymentMethodIds` , `sales_channel` . `home_cms_page_id` as `sales_channel.homeCmsPageId` , `sales_channel` . `home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId` , `sales_channel` . `created_at` as `sales_channel.createdAt` , `sales_channel` . `updated_at` as `sales_channel.updatedAt` , `sales_channel.currency` . `id` as `sales_channel.currency.id` , `sales_channel.currency` . `factor` as `sales_channel.currency.factor` , `sales_channel.currency` . `symbol` as `sales_channel.currency.symbol` , `sales_channel.currency` . `iso_code` as `sales_channel.currency.isoCode` , `sales_channel.currency` . `position` as `sales_channel.currency.position` , `sales_channel.currency` . `tax_free_from` as `sales_channel.currency.taxFreeFrom` , `sales_channel.currency` . `item_rounding` as `sales_channel.currency.itemRounding` , `sales_channel.currency` . `total_rounding` as `sales_channel.currency.totalRounding` , `sales_channel.currency` . `created_at` as `sales_channel.currency.createdAt` , `sales_channel.currency` . `updated_at` as `sales_channel.currency.updatedAt` , `sales_channel.currency.translation.shortName` , `sales_channel.currency.translation.shortName` as `sales_channel.currency.shortName` , `sales_channel.currency.translation.name` , `sales_channel.currency.translation.name` as `sales_channel.currency.name` , `sales_channel.currency.translation.customFields` , `sales_channel.currency.translation.customFields` as `sales_channel.currency.customFields` , `sales_channel.translation.name` , `sales_channel.translation.name` as `sales_channel.name` , `sales_channel.translation.homeSlotConfig` , `sales_channel.translation.homeSlotConfig` as `sales_channel.homeSlotConfig` , `sales_channel.translation.homeEnabled` , `sales_channel.translation.homeEnabled` as `sales_channel.homeEnabled` , `sales_channel.translation.homeName` , `sales_channel.translation.homeName` as `sales_channel.homeName` , `sales_channel.translation.homeMetaTitle` , `sales_channel.translation.homeMetaTitle` as `sales_channel.homeMetaTitle` , `sales_channel.translation.homeMetaDescription` , `sales_channel.translation.homeMetaDescription` as `sales_channel.homeMetaDescription` , `sales_channel.translation.homeKeywords` , `sales_channel.translation.homeKeywords` as `sales_channel.homeKeywords` , `sales_channel.translation.customFields` , `sales_channel.translation.customFields` as `sales_channel.customFields` FROM `sales_channel` LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel` . `currency_id` = `sales_channel.currency` . `id` LEFT JOIN (SELECT `sales_channel.translation` . `sales_channel_id` , `sales_channel.translation` . `name` as `sales_channel.translation.name` , `sales_channel.translation` . `custom_fields` as `sales_channel.translation.customFields` , `sales_channel.translation` . `home_slot_config` as `sales_channel.translation.homeSlotConfig` , `sales_channel.translation` . `home_enabled` as `sales_channel.translation.homeEnabled` , `sales_channel.translation` . `home_name` as `sales_channel.translation.homeName` , `sales_channel.translation` . `home_meta_title` as `sales_channel.translation.homeMetaTitle` , `sales_channel.translation` . `home_meta_description` as `sales_channel.translation.homeMetaDescription` , `sales_channel.translation` . `home_keywords` as `sales_channel.translation.homeKeywords` FROM `sales_channel_translation` `sales_channel.translation` WHERE `sales_channel.translation` . `language_id` = ? ) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation` . `sales_channel_id` = `sales_channel` . `id` LEFT JOIN (SELECT `sales_channel.currency.translation` . `currency_id` , `sales_channel.currency.translation` . `short_name` as `sales_channel.currency.translation.shortName` , `sales_channel.currency.translation` . `name` as `sales_channel.currency.translation.name` , `sales_channel.currency.translation` . `custom_fields` as `sales_channel.currency.translation.customFields` FROM `currency_translation` `sales_channel.currency.translation` WHERE `sales_channel.currency.translation` . `language_id` = ? ) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation` . `currency_id` = `sales_channel.currency` . `id` WHERE `sales_channel` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT
`sales_channel` . `id` as `sales_channel.id` ,
`sales_channel` . `type_id` as `sales_channel.typeId` ,
`sales_channel` . `language_id` as `sales_channel.languageId` ,
`sales_channel` . `customer_group_id` as `sales_channel.customerGroupId` ,
`sales_channel` . `currency_id` as `sales_channel.currencyId` ,
`sales_channel` . `payment_method_id` as `sales_channel.paymentMethodId` ,
`sales_channel` . `shipping_method_id` as `sales_channel.shippingMethodId` ,
`sales_channel` . `country_id` as `sales_channel.countryId` ,
`sales_channel` . `analytics_id` as `sales_channel.analyticsId` ,
`sales_channel` . `navigation_category_id` as `sales_channel.navigationCategoryId` ,
`sales_channel` . `navigation_category_version_id` as `sales_channel.navigationCategoryVersionId` ,
`sales_channel` . `navigation_category_depth` as `sales_channel.navigationCategoryDepth` ,
`sales_channel` . `footer_category_id` as `sales_channel.footerCategoryId` ,
`sales_channel` . `footer_category_version_id` as `sales_channel.footerCategoryVersionId` ,
`sales_channel` . `service_category_id` as `sales_channel.serviceCategoryId` ,
`sales_channel` . `service_category_version_id` as `sales_channel.serviceCategoryVersionId` ,
`sales_channel` . `mail_header_footer_id` as `sales_channel.mailHeaderFooterId` ,
`sales_channel` . `hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId` ,
`sales_channel` . `short_name` as `sales_channel.shortName` ,
`sales_channel` . `tax_calculation_type` as `sales_channel.taxCalculationType` ,
`sales_channel` . `access_key` as `sales_channel.accessKey` ,
`sales_channel` . `configuration` as `sales_channel.configuration` ,
`sales_channel` . `active` as `sales_channel.active` ,
`sales_channel` . `hreflang_active` as `sales_channel.hreflangActive` ,
`sales_channel` . `maintenance` as `sales_channel.maintenance` ,
`sales_channel` . `maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist` ,
`sales_channel` . `payment_method_ids` as `sales_channel.paymentMethodIds` ,
`sales_channel` . `home_cms_page_id` as `sales_channel.homeCmsPageId` ,
`sales_channel` . `home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId` ,
`sales_channel` . `created_at` as `sales_channel.createdAt` ,
`sales_channel` . `updated_at` as `sales_channel.updatedAt` ,
`sales_channel.currency` . `id` as `sales_channel.currency.id` ,
`sales_channel.currency` . `factor` as `sales_channel.currency.factor` ,
`sales_channel.currency` . `symbol` as `sales_channel.currency.symbol` ,
`sales_channel.currency` . `iso_code` as `sales_channel.currency.isoCode` ,
`sales_channel.currency` . `position` as `sales_channel.currency.position` ,
`sales_channel.currency` . `tax_free_from` as `sales_channel.currency.taxFreeFrom` ,
`sales_channel.currency` . `item_rounding` as `sales_channel.currency.itemRounding` ,
`sales_channel.currency` . `total_rounding` as `sales_channel.currency.totalRounding` ,
`sales_channel.currency` . `created_at` as `sales_channel.currency.createdAt` ,
`sales_channel.currency` . `updated_at` as `sales_channel.currency.updatedAt` ,
`sales_channel.currency.translation.shortName` ,
`sales_channel.currency.translation.shortName` as `sales_channel.currency.shortName` ,
`sales_channel.currency.translation.name` ,
`sales_channel.currency.translation.name` as `sales_channel.currency.name` ,
`sales_channel.currency.translation.customFields` ,
`sales_channel.currency.translation.customFields` as `sales_channel.currency.customFields` ,
`sales_channel.translation.name` ,
`sales_channel.translation.name` as `sales_channel.name` ,
`sales_channel.translation.homeSlotConfig` ,
`sales_channel.translation.homeSlotConfig` as `sales_channel.homeSlotConfig` ,
`sales_channel.translation.homeEnabled` ,
`sales_channel.translation.homeEnabled` as `sales_channel.homeEnabled` ,
`sales_channel.translation.homeName` ,
`sales_channel.translation.homeName` as `sales_channel.homeName` ,
`sales_channel.translation.homeMetaTitle` ,
`sales_channel.translation.homeMetaTitle` as `sales_channel.homeMetaTitle` ,
`sales_channel.translation.homeMetaDescription` ,
`sales_channel.translation.homeMetaDescription` as `sales_channel.homeMetaDescription` ,
`sales_channel.translation.homeKeywords` ,
`sales_channel.translation.homeKeywords` as `sales_channel.homeKeywords` ,
`sales_channel.translation.customFields` ,
`sales_channel.translation.customFields` as `sales_channel.customFields`
FROM
`sales_channel`
LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel` . `currency_id` = `sales_channel.currency` . `id`
LEFT JOIN (
SELECT
`sales_channel.translation` . `sales_channel_id` ,
`sales_channel.translation` . `name` as `sales_channel.translation.name` ,
`sales_channel.translation` . `custom_fields` as `sales_channel.translation.customFields` ,
`sales_channel.translation` . `home_slot_config` as `sales_channel.translation.homeSlotConfig` ,
`sales_channel.translation` . `home_enabled` as `sales_channel.translation.homeEnabled` ,
`sales_channel.translation` . `home_name` as `sales_channel.translation.homeName` ,
`sales_channel.translation` . `home_meta_title` as `sales_channel.translation.homeMetaTitle` ,
`sales_channel.translation` . `home_meta_description` as `sales_channel.translation.homeMetaDescription` ,
`sales_channel.translation` . `home_keywords` as `sales_channel.translation.homeKeywords`
FROM
`sales_channel_translation` `sales_channel.translation`
WHERE
`sales_channel.translation` . `language_id` = ?
) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation` . `sales_channel_id` = `sales_channel` . `id`
LEFT JOIN (
SELECT
`sales_channel.currency.translation` . `currency_id` ,
`sales_channel.currency.translation` . `short_name` as `sales_channel.currency.translation.shortName` ,
`sales_channel.currency.translation` . `name` as `sales_channel.currency.translation.name` ,
`sales_channel.currency.translation` . `custom_fields` as `sales_channel.currency.translation.customFields`
FROM
`currency_translation` `sales_channel.currency.translation`
WHERE
`sales_channel.currency.translation` . `language_id` = ?
) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation` . `currency_id` = `sales_channel.currency` . `id`
WHERE
`sales_channel` . `id` IN (? )
Copy
SELECT `sales_channel` . `id` as `sales_channel.id` , `sales_channel` . `type_id` as `sales_channel.typeId` , `sales_channel` . `language_id` as `sales_channel.languageId` , `sales_channel` . `customer_group_id` as `sales_channel.customerGroupId` , `sales_channel` . `currency_id` as `sales_channel.currencyId` , `sales_channel` . `payment_method_id` as `sales_channel.paymentMethodId` , `sales_channel` . `shipping_method_id` as `sales_channel.shippingMethodId` , `sales_channel` . `country_id` as `sales_channel.countryId` , `sales_channel` . `analytics_id` as `sales_channel.analyticsId` , `sales_channel` . `navigation_category_id` as `sales_channel.navigationCategoryId` , `sales_channel` . `navigation_category_version_id` as `sales_channel.navigationCategoryVersionId` , `sales_channel` . `navigation_category_depth` as `sales_channel.navigationCategoryDepth` , `sales_channel` . `footer_category_id` as `sales_channel.footerCategoryId` , `sales_channel` . `footer_category_version_id` as `sales_channel.footerCategoryVersionId` , `sales_channel` . `service_category_id` as `sales_channel.serviceCategoryId` , `sales_channel` . `service_category_version_id` as `sales_channel.serviceCategoryVersionId` , `sales_channel` . `mail_header_footer_id` as `sales_channel.mailHeaderFooterId` , `sales_channel` . `hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId` , `sales_channel` . `short_name` as `sales_channel.shortName` , `sales_channel` . `tax_calculation_type` as `sales_channel.taxCalculationType` , `sales_channel` . `access_key` as `sales_channel.accessKey` , `sales_channel` . `configuration` as `sales_channel.configuration` , `sales_channel` . `active` as `sales_channel.active` , `sales_channel` . `hreflang_active` as `sales_channel.hreflangActive` , `sales_channel` . `maintenance` as `sales_channel.maintenance` , `sales_channel` . `maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist` , `sales_channel` . `payment_method_ids` as `sales_channel.paymentMethodIds` , `sales_channel` . `home_cms_page_id` as `sales_channel.homeCmsPageId` , `sales_channel` . `home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId` , `sales_channel` . `created_at` as `sales_channel.createdAt` , `sales_channel` . `updated_at` as `sales_channel.updatedAt` , `sales_channel.currency` . `id` as `sales_channel.currency.id` , `sales_channel.currency` . `factor` as `sales_channel.currency.factor` , `sales_channel.currency` . `symbol` as `sales_channel.currency.symbol` , `sales_channel.currency` . `iso_code` as `sales_channel.currency.isoCode` , `sales_channel.currency` . `position` as `sales_channel.currency.position` , `sales_channel.currency` . `tax_free_from` as `sales_channel.currency.taxFreeFrom` , `sales_channel.currency` . `item_rounding` as `sales_channel.currency.itemRounding` , `sales_channel.currency` . `total_rounding` as `sales_channel.currency.totalRounding` , `sales_channel.currency` . `created_at` as `sales_channel.currency.createdAt` , `sales_channel.currency` . `updated_at` as `sales_channel.currency.updatedAt` , `sales_channel.currency.translation.shortName` , `sales_channel.currency.translation.shortName` as `sales_channel.currency.shortName` , `sales_channel.currency.translation.name` , `sales_channel.currency.translation.name` as `sales_channel.currency.name` , `sales_channel.currency.translation.customFields` , `sales_channel.currency.translation.customFields` as `sales_channel.currency.customFields` , `sales_channel.translation.name` , `sales_channel.translation.name` as `sales_channel.name` , `sales_channel.translation.homeSlotConfig` , `sales_channel.translation.homeSlotConfig` as `sales_channel.homeSlotConfig` , `sales_channel.translation.homeEnabled` , `sales_channel.translation.homeEnabled` as `sales_channel.homeEnabled` , `sales_channel.translation.homeName` , `sales_channel.translation.homeName` as `sales_channel.homeName` , `sales_channel.translation.homeMetaTitle` , `sales_channel.translation.homeMetaTitle` as `sales_channel.homeMetaTitle` , `sales_channel.translation.homeMetaDescription` , `sales_channel.translation.homeMetaDescription` as `sales_channel.homeMetaDescription` , `sales_channel.translation.homeKeywords` , `sales_channel.translation.homeKeywords` as `sales_channel.homeKeywords` , `sales_channel.translation.customFields` , `sales_channel.translation.customFields` as `sales_channel.customFields` FROM `sales_channel` LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel` . `currency_id` = `sales_channel.currency` . `id` LEFT JOIN (SELECT `sales_channel.translation` . `sales_channel_id` , `sales_channel.translation` . `name` as `sales_channel.translation.name` , `sales_channel.translation` . `custom_fields` as `sales_channel.translation.customFields` , `sales_channel.translation` . `home_slot_config` as `sales_channel.translation.homeSlotConfig` , `sales_channel.translation` . `home_enabled` as `sales_channel.translation.homeEnabled` , `sales_channel.translation` . `home_name` as `sales_channel.translation.homeName` , `sales_channel.translation` . `home_meta_title` as `sales_channel.translation.homeMetaTitle` , `sales_channel.translation` . `home_meta_description` as `sales_channel.translation.homeMetaDescription` , `sales_channel.translation` . `home_keywords` as `sales_channel.translation.homeKeywords` FROM `sales_channel_translation` `sales_channel.translation` WHERE `sales_channel.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation` . `sales_channel_id` = `sales_channel` . `id` LEFT JOIN (SELECT `sales_channel.currency.translation` . `currency_id` , `sales_channel.currency.translation` . `short_name` as `sales_channel.currency.translation.shortName` , `sales_channel.currency.translation` . `name` as `sales_channel.currency.translation.name` , `sales_channel.currency.translation` . `custom_fields` as `sales_channel.currency.translation.customFields` FROM `currency_translation` `sales_channel.currency.translation` WHERE `sales_channel.currency.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation` . `currency_id` = `sales_channel.currency` . `id` WHERE `sales_channel` . `id` IN (0x82EBEE42586B41FDA3320FD6BFE4A8AE );
Copy
13
0.69 ms
SELECT `sales_channel_domain` . `id` as `sales_channel_domain.id` , `sales_channel_domain` . `url` as `sales_channel_domain.url` , `sales_channel_domain` . `sales_channel_id` as `sales_channel_domain.salesChannelId` , `sales_channel_domain` . `language_id` as `sales_channel_domain.languageId` , `sales_channel_domain` . `currency_id` as `sales_channel_domain.currencyId` , `sales_channel_domain` . `snippet_set_id` as `sales_channel_domain.snippetSetId` , `sales_channel_domain` . `hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale` , `sales_channel_domain` . `custom_fields` as `sales_channel_domain.customFields` , `sales_channel_domain` . `created_at` as `sales_channel_domain.createdAt` , `sales_channel_domain` . `updated_at` as `sales_channel_domain.updatedAt` FROM `sales_channel_domain` WHERE (`sales_channel_domain` . `sales_channel_id` IN (? ))
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `sales_channel_domain` . `id` as `sales_channel_domain.id` , `sales_channel_domain` . `url` as `sales_channel_domain.url` , `sales_channel_domain` . `sales_channel_id` as `sales_channel_domain.salesChannelId` , `sales_channel_domain` . `language_id` as `sales_channel_domain.languageId` , `sales_channel_domain` . `currency_id` as `sales_channel_domain.currencyId` , `sales_channel_domain` . `snippet_set_id` as `sales_channel_domain.snippetSetId` , `sales_channel_domain` . `hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale` , `sales_channel_domain` . `custom_fields` as `sales_channel_domain.customFields` , `sales_channel_domain` . `created_at` as `sales_channel_domain.createdAt` , `sales_channel_domain` . `updated_at` as `sales_channel_domain.updatedAt` FROM `sales_channel_domain` WHERE (`sales_channel_domain` . `sales_channel_id` IN (0x82EBEE42586B41FDA3320FD6BFE4A8AE ));
Copy
14
0.71 ms
SELECT `currency` . `id` as `currency.id` , `currency` . `factor` as `currency.factor` , `currency` . `symbol` as `currency.symbol` , `currency` . `iso_code` as `currency.isoCode` , `currency` . `position` as `currency.position` , `currency` . `tax_free_from` as `currency.taxFreeFrom` , `currency` . `item_rounding` as `currency.itemRounding` , `currency` . `total_rounding` as `currency.totalRounding` , `currency` . `created_at` as `currency.createdAt` , `currency` . `updated_at` as `currency.updatedAt` , `currency.translation.shortName` , `currency.translation.shortName` as `currency.shortName` , `currency.translation.name` , `currency.translation.name` as `currency.name` , `currency.translation.customFields` , `currency.translation.customFields` as `currency.customFields` FROM `currency` LEFT JOIN (SELECT `currency.translation` . `currency_id` , `currency.translation` . `short_name` as `currency.translation.shortName` , `currency.translation` . `name` as `currency.translation.name` , `currency.translation` . `custom_fields` as `currency.translation.customFields` FROM `currency_translation` `currency.translation` WHERE `currency.translation` . `language_id` = ? ) `currency.currency_translation` ON `currency.currency_translation` . `currency_id` = `currency` . `id` WHERE `currency` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"·ÒUK\f èGÍ‚ó¬›ÑÀßÊ "
]
SELECT `currency` . `id` as `currency.id` , `currency` . `factor` as `currency.factor` , `currency` . `symbol` as `currency.symbol` , `currency` . `iso_code` as `currency.isoCode` , `currency` . `position` as `currency.position` , `currency` . `tax_free_from` as `currency.taxFreeFrom` , `currency` . `item_rounding` as `currency.itemRounding` , `currency` . `total_rounding` as `currency.totalRounding` , `currency` . `created_at` as `currency.createdAt` , `currency` . `updated_at` as `currency.updatedAt` , `currency.translation.shortName` , `currency.translation.shortName` as `currency.shortName` , `currency.translation.name` , `currency.translation.name` as `currency.name` , `currency.translation.customFields` , `currency.translation.customFields` as `currency.customFields` FROM `currency` LEFT JOIN (SELECT `currency.translation` . `currency_id` , `currency.translation` . `short_name` as `currency.translation.shortName` , `currency.translation` . `name` as `currency.translation.name` , `currency.translation` . `custom_fields` as `currency.translation.customFields` FROM `currency_translation` `currency.translation` WHERE `currency.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `currency.currency_translation` ON `currency.currency_translation` . `currency_id` = `currency` . `id` WHERE `currency` . `id` IN (0xB7D2554B0CE847CD82F3AC9BD1C0DFCA );
Copy
15
0.62 ms
SELECT `country` . `id` as `country.id` , `country` . `iso` as `country.iso` , `country` . `position` as `country.position` , `country` . `active` as `country.active` , `country` . `shipping_available` as `country.shippingAvailable` , `country` . `iso3` as `country.iso3` , `country` . `display_state_in_registration` as `country.displayStateInRegistration` , `country` . `force_state_in_registration` as `country.forceStateInRegistration` , `country` . `check_vat_id_pattern` as `country.checkVatIdPattern` , `country` . `vat_id_required` as `country.vatIdRequired` , `country` . `vat_id_pattern` as `country.vatIdPattern` , `country` . `customer_tax` as `country.customerTax` , `country` . `company_tax` as `country.companyTax` , `country` . `postal_code_required` as `country.postalCodeRequired` , `country` . `check_postal_code_pattern` as `country.checkPostalCodePattern` , `country` . `check_advanced_postal_code_pattern` as `country.checkAdvancedPostalCodePattern` , `country` . `advanced_postal_code_pattern` as `country.advancedPostalCodePattern` , `country` . `default_postal_code_pattern` as `country.defaultPostalCodePattern` , `country` . `is_eu` as `country.isEu` , `country` . `created_at` as `country.createdAt` , `country` . `updated_at` as `country.updatedAt` , `country.translation.name` , `country.translation.name` as `country.name` , `country.translation.addressFormat` , `country.translation.addressFormat` as `country.addressFormat` , `country.translation.customFields` , `country.translation.customFields` as `country.customFields` FROM `country` LEFT JOIN (SELECT `country.translation` . `country_id` , `country.translation` . `name` as `country.translation.name` , `country.translation` . `custom_fields` as `country.translation.customFields` , `country.translation` . `address_format` as `country.translation.addressFormat` FROM `country_translation` `country.translation` WHERE `country.translation` . `language_id` = ? ) `country.country_translation` ON `country.country_translation` . `country_id` = `country` . `id` WHERE `country` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"ÿòy\x15 •ÖN\f Œ".fƒØºÆ "
]
SELECT `country` . `id` as `country.id` , `country` . `iso` as `country.iso` , `country` . `position` as `country.position` , `country` . `active` as `country.active` , `country` . `shipping_available` as `country.shippingAvailable` , `country` . `iso3` as `country.iso3` , `country` . `display_state_in_registration` as `country.displayStateInRegistration` , `country` . `force_state_in_registration` as `country.forceStateInRegistration` , `country` . `check_vat_id_pattern` as `country.checkVatIdPattern` , `country` . `vat_id_required` as `country.vatIdRequired` , `country` . `vat_id_pattern` as `country.vatIdPattern` , `country` . `customer_tax` as `country.customerTax` , `country` . `company_tax` as `country.companyTax` , `country` . `postal_code_required` as `country.postalCodeRequired` , `country` . `check_postal_code_pattern` as `country.checkPostalCodePattern` , `country` . `check_advanced_postal_code_pattern` as `country.checkAdvancedPostalCodePattern` , `country` . `advanced_postal_code_pattern` as `country.advancedPostalCodePattern` , `country` . `default_postal_code_pattern` as `country.defaultPostalCodePattern` , `country` . `is_eu` as `country.isEu` , `country` . `created_at` as `country.createdAt` , `country` . `updated_at` as `country.updatedAt` , `country.translation.name` , `country.translation.name` as `country.name` , `country.translation.addressFormat` , `country.translation.addressFormat` as `country.addressFormat` , `country.translation.customFields` , `country.translation.customFields` as `country.customFields` FROM `country` LEFT JOIN (SELECT `country.translation` . `country_id` , `country.translation` . `name` as `country.translation.name` , `country.translation` . `custom_fields` as `country.translation.customFields` , `country.translation` . `address_format` as `country.translation.addressFormat` FROM `country_translation` `country.translation` WHERE `country.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `country.country_translation` ON `country.country_translation` . `country_id` = `country` . `id` WHERE `country` . `id` IN (0xFFF2791595D64E0C8C222E6683D8BAC6 );
Copy
16
1.00 ms
SELECT `customer_group` . `id` as `customer_group.id` , `customer_group` . `display_gross` as `customer_group.displayGross` , `customer_group` . `registration_active` as `customer_group.registrationActive` , `customer_group` . `created_at` as `customer_group.createdAt` , `customer_group` . `updated_at` as `customer_group.updatedAt` , `customer_group.translation.name` , `customer_group.translation.name` as `customer_group.name` , `customer_group.translation.registrationTitle` , `customer_group.translation.registrationTitle` as `customer_group.registrationTitle` , `customer_group.translation.registrationIntroduction` , `customer_group.translation.registrationIntroduction` as `customer_group.registrationIntroduction` , `customer_group.translation.registrationOnlyCompanyRegistration` , `customer_group.translation.registrationOnlyCompanyRegistration` as `customer_group.registrationOnlyCompanyRegistration` , `customer_group.translation.registrationSeoMetaDescription` , `customer_group.translation.registrationSeoMetaDescription` as `customer_group.registrationSeoMetaDescription` , `customer_group.translation.customFields` , `customer_group.translation.customFields` as `customer_group.customFields` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation` . `customer_group_id` , `customer_group.translation` . `name` as `customer_group.translation.name` , `customer_group.translation` . `custom_fields` as `customer_group.translation.customFields` , `customer_group.translation` . `registration_title` as `customer_group.translation.registrationTitle` , `customer_group.translation` . `registration_introduction` as `customer_group.translation.registrationIntroduction` , `customer_group.translation` . `registration_only_company_registration` as `customer_group.translation.registrationOnlyCompanyRegistration` , `customer_group.translation` . `registration_seo_meta_description` as `customer_group.translation.registrationSeoMetaDescription` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation` . `language_id` = ? ) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation` . `customer_group_id` = `customer_group` . `id` WHERE `customer_group` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"¤¢P\x18 ËìAÏ¡╩\x10 ┘O╚¢Í "
]
SELECT `customer_group` . `id` as `customer_group.id` , `customer_group` . `display_gross` as `customer_group.displayGross` , `customer_group` . `registration_active` as `customer_group.registrationActive` , `customer_group` . `created_at` as `customer_group.createdAt` , `customer_group` . `updated_at` as `customer_group.updatedAt` , `customer_group.translation.name` , `customer_group.translation.name` as `customer_group.name` , `customer_group.translation.registrationTitle` , `customer_group.translation.registrationTitle` as `customer_group.registrationTitle` , `customer_group.translation.registrationIntroduction` , `customer_group.translation.registrationIntroduction` as `customer_group.registrationIntroduction` , `customer_group.translation.registrationOnlyCompanyRegistration` , `customer_group.translation.registrationOnlyCompanyRegistration` as `customer_group.registrationOnlyCompanyRegistration` , `customer_group.translation.registrationSeoMetaDescription` , `customer_group.translation.registrationSeoMetaDescription` as `customer_group.registrationSeoMetaDescription` , `customer_group.translation.customFields` , `customer_group.translation.customFields` as `customer_group.customFields` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation` . `customer_group_id` , `customer_group.translation` . `name` as `customer_group.translation.name` , `customer_group.translation` . `custom_fields` as `customer_group.translation.customFields` , `customer_group.translation` . `registration_title` as `customer_group.translation.registrationTitle` , `customer_group.translation` . `registration_introduction` as `customer_group.translation.registrationIntroduction` , `customer_group.translation` . `registration_only_company_registration` as `customer_group.translation.registrationOnlyCompanyRegistration` , `customer_group.translation` . `registration_seo_meta_description` as `customer_group.translation.registrationSeoMetaDescription` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation` . `customer_group_id` = `customer_group` . `id` WHERE `customer_group` . `id` IN (0xCFBD5018D38D41D8ADCA10D94FC8BDD6 );
Copy
17
0.42 ms
SELECT `tax` . `id` as `tax.id` , `tax` . `tax_rate` as `tax.taxRate` , `tax` . `name` as `tax.name` , `tax` . `position` as `tax.position` , `tax` . `custom_fields` as `tax.customFields` , `tax` . `created_at` as `tax.createdAt` , `tax` . `updated_at` as `tax.updatedAt` FROM `tax`
SELECT `tax` . `id` as `tax.id` , `tax` . `tax_rate` as `tax.taxRate` , `tax` . `name` as `tax.name` , `tax` . `position` as `tax.position` , `tax` . `custom_fields` as `tax.customFields` , `tax` . `created_at` as `tax.createdAt` , `tax` . `updated_at` as `tax.updatedAt` FROM `tax` ;
Copy
18
0.82 ms
SELECT `tax_rule` . `id` as `tax_rule.id` , `tax_rule` . `tax_rule_type_id` as `tax_rule.taxRuleTypeId` , `tax_rule` . `country_id` as `tax_rule.countryId` , `tax_rule` . `tax_rate` as `tax_rule.taxRate` , `tax_rule` . `data` as `tax_rule.data` , `tax_rule` . `tax_id` as `tax_rule.taxId` , `tax_rule` . `active_from` as `tax_rule.activeFrom` , `tax_rule` . `created_at` as `tax_rule.createdAt` , `tax_rule` . `updated_at` as `tax_rule.updatedAt` , `tax_rule.type` . `id` as `tax_rule.type.id` , `tax_rule.type` . `technical_name` as `tax_rule.type.technicalName` , `tax_rule.type` . `position` as `tax_rule.type.position` , `tax_rule.type` . `created_at` as `tax_rule.type.createdAt` , `tax_rule.type` . `updated_at` as `tax_rule.type.updatedAt` , `tax_rule.type.translation.typeName` , `tax_rule.type.translation.typeName` as `tax_rule.type.typeName` FROM `tax_rule` LEFT JOIN `tax_rule_type` `tax_rule.type` ON `tax_rule` . `tax_rule_type_id` = `tax_rule.type` . `id` LEFT JOIN (SELECT `tax_rule.type.translation` . `tax_rule_type_id` , `tax_rule.type.translation` . `type_name` as `tax_rule.type.translation.typeName` FROM `tax_rule_type_translation` `tax_rule.type.translation` WHERE `tax_rule.type.translation` . `language_id` = ? ) `tax_rule.type.tax_rule_type_translation` ON `tax_rule.type.tax_rule_type_translation` . `tax_rule_type_id` = `tax_rule.type` . `id` WHERE (`tax_rule` . `tax_id` IN (? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"2.ÑXôÅM┌äÜs\x11 Ñæk$ "
b"hšj–r\x1C Bç…Ê·ò”|·T "
b"™Ý\x13 ÔG{CÙ»CÍ™!û\e\x12 "
]
SELECT `tax_rule` . `id` as `tax_rule.id` , `tax_rule` . `tax_rule_type_id` as `tax_rule.taxRuleTypeId` , `tax_rule` . `country_id` as `tax_rule.countryId` , `tax_rule` . `tax_rate` as `tax_rule.taxRate` , `tax_rule` . `data` as `tax_rule.data` , `tax_rule` . `tax_id` as `tax_rule.taxId` , `tax_rule` . `active_from` as `tax_rule.activeFrom` , `tax_rule` . `created_at` as `tax_rule.createdAt` , `tax_rule` . `updated_at` as `tax_rule.updatedAt` , `tax_rule.type` . `id` as `tax_rule.type.id` , `tax_rule.type` . `technical_name` as `tax_rule.type.technicalName` , `tax_rule.type` . `position` as `tax_rule.type.position` , `tax_rule.type` . `created_at` as `tax_rule.type.createdAt` , `tax_rule.type` . `updated_at` as `tax_rule.type.updatedAt` , `tax_rule.type.translation.typeName` , `tax_rule.type.translation.typeName` as `tax_rule.type.typeName` FROM `tax_rule` LEFT JOIN `tax_rule_type` `tax_rule.type` ON `tax_rule` . `tax_rule_type_id` = `tax_rule.type` . `id` LEFT JOIN (SELECT `tax_rule.type.translation` . `tax_rule_type_id` , `tax_rule.type.translation` . `type_name` as `tax_rule.type.translation.typeName` FROM `tax_rule_type_translation` `tax_rule.type.translation` WHERE `tax_rule.type.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `tax_rule.type.tax_rule_type_translation` ON `tax_rule.type.tax_rule_type_translation` . `tax_rule_type_id` = `tax_rule.type` . `id` WHERE (`tax_rule` . `tax_id` IN (0x322EA558938F4DDA849A7311A5916B24 , 0x689A6A96721C42E785CAB7F2947CB754 , 0x99DD13D4477B43D9BB43CD9921FB1B12 ));
Copy
19
1.46 ms
SELECT `payment_method` . `id` as `payment_method.id` , `payment_method` . `plugin_id` as `payment_method.pluginId` , `payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` , `payment_method` . `position` as `payment_method.position` , `payment_method` . `active` as `payment_method.active` , `payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` , `payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` , `payment_method` . `media_id` as `payment_method.mediaId` , `payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` , `payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` , `payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` , `payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` , `payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` , `payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` , `payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` , `payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` , `payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` , `payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` , `payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` , `payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` , `payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` , `payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` , `payment_method` . `technical_name` as `payment_method.technicalName` , `payment_method` . `created_at` as `payment_method.createdAt` , `payment_method` . `updated_at` as `payment_method.updatedAt` , `payment_method.media` . `id` as `payment_method.media.id` , `payment_method.media` . `user_id` as `payment_method.media.userId` , `payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` , `payment_method.media` . `mime_type` as `payment_method.media.mimeType` , `payment_method.media` . `file_extension` as `payment_method.media.fileExtension` , `payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` , `payment_method.media` . `file_name` as `payment_method.media.fileName` , `payment_method.media` . `file_size` as `payment_method.media.fileSize` , `payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` , `payment_method.media` . `meta_data` as `payment_method.media.metaData` , `payment_method.media` . `config` as `payment_method.media.config` , `payment_method.media` . `path` as `payment_method.media.path` , `payment_method.media` . `private` as `payment_method.media.private` , `payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` , `payment_method.media` . `created_at` as `payment_method.media.createdAt` , `payment_method.media` . `updated_at` as `payment_method.media.updatedAt` , `payment_method.media.translation.title` , `payment_method.media.translation.title` as `payment_method.media.title` , `payment_method.media.translation.alt` , `payment_method.media.translation.alt` as `payment_method.media.alt` , `payment_method.media.translation.customFields` , `payment_method.media.translation.customFields` as `payment_method.media.customFields` , `payment_method.translation.name` , `payment_method.translation.name` as `payment_method.name` , `payment_method.translation.distinguishableName` , `payment_method.translation.distinguishableName` as `payment_method.distinguishableName` , `payment_method.translation.description` , `payment_method.translation.description` as `payment_method.description` , `payment_method.translation.customFields` , `payment_method.translation.customFields` as `payment_method.customFields` FROM `payment_method` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id` LEFT JOIN (SELECT `payment_method.translation` . `payment_method_id` , `payment_method.translation` . `name` as `payment_method.translation.name` , `payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` , `payment_method.translation` . `description` as `payment_method.translation.description` , `payment_method.translation` . `custom_fields` as `payment_method.translation.customFields` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation` . `language_id` = ? ) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id` LEFT JOIN (SELECT `payment_method.media.translation` . `media_id` , `payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` , `payment_method.media.translation` . `title` as `payment_method.media.translation.title` , `payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation` . `language_id` = ? ) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id` WHERE `payment_method` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"Õá\x06 oŠ#D\x1A ’Ùs¬ãö¬M "
]
SELECT
`payment_method` . `id` as `payment_method.id` ,
`payment_method` . `plugin_id` as `payment_method.pluginId` ,
`payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` ,
`payment_method` . `position` as `payment_method.position` ,
`payment_method` . `active` as `payment_method.active` ,
`payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` ,
`payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` ,
`payment_method` . `media_id` as `payment_method.mediaId` ,
`payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` ,
`payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` ,
`payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` ,
`payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` ,
`payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` ,
`payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` ,
`payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` ,
`payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` ,
`payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` ,
`payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` ,
`payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` ,
`payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` ,
`payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` ,
`payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` ,
`payment_method` . `technical_name` as `payment_method.technicalName` ,
`payment_method` . `created_at` as `payment_method.createdAt` ,
`payment_method` . `updated_at` as `payment_method.updatedAt` ,
`payment_method.media` . `id` as `payment_method.media.id` ,
`payment_method.media` . `user_id` as `payment_method.media.userId` ,
`payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` ,
`payment_method.media` . `mime_type` as `payment_method.media.mimeType` ,
`payment_method.media` . `file_extension` as `payment_method.media.fileExtension` ,
`payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` ,
`payment_method.media` . `file_name` as `payment_method.media.fileName` ,
`payment_method.media` . `file_size` as `payment_method.media.fileSize` ,
`payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` ,
`payment_method.media` . `meta_data` as `payment_method.media.metaData` ,
`payment_method.media` . `config` as `payment_method.media.config` ,
`payment_method.media` . `path` as `payment_method.media.path` ,
`payment_method.media` . `private` as `payment_method.media.private` ,
`payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` ,
`payment_method.media` . `created_at` as `payment_method.media.createdAt` ,
`payment_method.media` . `updated_at` as `payment_method.media.updatedAt` ,
`payment_method.media.translation.title` ,
`payment_method.media.translation.title` as `payment_method.media.title` ,
`payment_method.media.translation.alt` ,
`payment_method.media.translation.alt` as `payment_method.media.alt` ,
`payment_method.media.translation.customFields` ,
`payment_method.media.translation.customFields` as `payment_method.media.customFields` ,
`payment_method.translation.name` ,
`payment_method.translation.name` as `payment_method.name` ,
`payment_method.translation.distinguishableName` ,
`payment_method.translation.distinguishableName` as `payment_method.distinguishableName` ,
`payment_method.translation.description` ,
`payment_method.translation.description` as `payment_method.description` ,
`payment_method.translation.customFields` ,
`payment_method.translation.customFields` as `payment_method.customFields`
FROM
`payment_method`
LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id`
LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id`
LEFT JOIN (
SELECT
`payment_method.translation` . `payment_method_id` ,
`payment_method.translation` . `name` as `payment_method.translation.name` ,
`payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` ,
`payment_method.translation` . `description` as `payment_method.translation.description` ,
`payment_method.translation` . `custom_fields` as `payment_method.translation.customFields`
FROM
`payment_method_translation` `payment_method.translation`
WHERE
`payment_method.translation` . `language_id` = ?
) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id`
LEFT JOIN (
SELECT
`payment_method.media.translation` . `media_id` ,
`payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` ,
`payment_method.media.translation` . `title` as `payment_method.media.translation.title` ,
`payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields`
FROM
`media_translation` `payment_method.media.translation`
WHERE
`payment_method.media.translation` . `language_id` = ?
) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id`
WHERE
`payment_method` . `id` IN (? )
Copy
SELECT `payment_method` . `id` as `payment_method.id` , `payment_method` . `plugin_id` as `payment_method.pluginId` , `payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` , `payment_method` . `position` as `payment_method.position` , `payment_method` . `active` as `payment_method.active` , `payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` , `payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` , `payment_method` . `media_id` as `payment_method.mediaId` , `payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` , `payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` , `payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` , `payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` , `payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` , `payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` , `payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` , `payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` , `payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` , `payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` , `payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` , `payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` , `payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` , `payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` , `payment_method` . `technical_name` as `payment_method.technicalName` , `payment_method` . `created_at` as `payment_method.createdAt` , `payment_method` . `updated_at` as `payment_method.updatedAt` , `payment_method.media` . `id` as `payment_method.media.id` , `payment_method.media` . `user_id` as `payment_method.media.userId` , `payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` , `payment_method.media` . `mime_type` as `payment_method.media.mimeType` , `payment_method.media` . `file_extension` as `payment_method.media.fileExtension` , `payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` , `payment_method.media` . `file_name` as `payment_method.media.fileName` , `payment_method.media` . `file_size` as `payment_method.media.fileSize` , `payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` , `payment_method.media` . `meta_data` as `payment_method.media.metaData` , `payment_method.media` . `config` as `payment_method.media.config` , `payment_method.media` . `path` as `payment_method.media.path` , `payment_method.media` . `private` as `payment_method.media.private` , `payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` , `payment_method.media` . `created_at` as `payment_method.media.createdAt` , `payment_method.media` . `updated_at` as `payment_method.media.updatedAt` , `payment_method.media.translation.title` , `payment_method.media.translation.title` as `payment_method.media.title` , `payment_method.media.translation.alt` , `payment_method.media.translation.alt` as `payment_method.media.alt` , `payment_method.media.translation.customFields` , `payment_method.media.translation.customFields` as `payment_method.media.customFields` , `payment_method.translation.name` , `payment_method.translation.name` as `payment_method.name` , `payment_method.translation.distinguishableName` , `payment_method.translation.distinguishableName` as `payment_method.distinguishableName` , `payment_method.translation.description` , `payment_method.translation.description` as `payment_method.description` , `payment_method.translation.customFields` , `payment_method.translation.customFields` as `payment_method.customFields` FROM `payment_method` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id` LEFT JOIN (SELECT `payment_method.translation` . `payment_method_id` , `payment_method.translation` . `name` as `payment_method.translation.name` , `payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` , `payment_method.translation` . `description` as `payment_method.translation.description` , `payment_method.translation` . `custom_fields` as `payment_method.translation.customFields` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id` LEFT JOIN (SELECT `payment_method.media.translation` . `media_id` , `payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` , `payment_method.media.translation` . `title` as `payment_method.media.translation.title` , `payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id` WHERE `payment_method` . `id` IN (0xD5E1066F8A23441A92D973ACE3F6AC4D );
Copy
20
1.40 ms
SELECT `shipping_method` . `id` as `shipping_method.id` , `shipping_method` . `active` as `shipping_method.active` , `shipping_method` . `position` as `shipping_method.position` , `shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` , `shipping_method` . `media_id` as `shipping_method.mediaId` , `shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` , `shipping_method` . `tax_type` as `shipping_method.taxType` , `shipping_method` . `tax_id` as `shipping_method.taxId` , `shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` , `shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` , `shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` , `shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` , `shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` , `shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` , `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` , `shipping_method.deliveryTime.translation.customFields` , `shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` , `shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` , `shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` , `shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` , `shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` , `shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` , `shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` , `shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` , `shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` , `shipping_method` . `technical_name` as `shipping_method.technicalName` , `shipping_method` . `created_at` as `shipping_method.createdAt` , `shipping_method` . `updated_at` as `shipping_method.updatedAt` , `shipping_method.media` . `id` as `shipping_method.media.id` , `shipping_method.media` . `user_id` as `shipping_method.media.userId` , `shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` , `shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` , `shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` , `shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` , `shipping_method.media` . `file_name` as `shipping_method.media.fileName` , `shipping_method.media` . `file_size` as `shipping_method.media.fileSize` , `shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` , `shipping_method.media` . `meta_data` as `shipping_method.media.metaData` , `shipping_method.media` . `config` as `shipping_method.media.config` , `shipping_method.media` . `path` as `shipping_method.media.path` , `shipping_method.media` . `private` as `shipping_method.media.private` , `shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` , `shipping_method.media` . `created_at` as `shipping_method.media.createdAt` , `shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` , `shipping_method.media.translation.title` , `shipping_method.media.translation.title` as `shipping_method.media.title` , `shipping_method.media.translation.alt` , `shipping_method.media.translation.alt` as `shipping_method.media.alt` , `shipping_method.media.translation.customFields` , `shipping_method.media.translation.customFields` as `shipping_method.media.customFields` , `shipping_method.translation.name` , `shipping_method.translation.name` as `shipping_method.name` , `shipping_method.translation.description` , `shipping_method.translation.description` as `shipping_method.description` , `shipping_method.translation.trackingUrl` , `shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` , `shipping_method.translation.customFields` , `shipping_method.translation.customFields` as `shipping_method.customFields` FROM `shipping_method` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` , `shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` , `shipping_method.translation` . `description` as `shipping_method.translation.description` , `shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = ? ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation` . `delivery_time_id` , `shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation` . `language_id` = ? ) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN (SELECT `shipping_method.media.translation` . `media_id` , `shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` , `shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` , `shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation` . `language_id` = ? ) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id` WHERE `shipping_method` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"ˆÒPH¦5FGž°WÁ¬•M’ "
]
SELECT
`shipping_method` . `id` as `shipping_method.id` ,
`shipping_method` . `active` as `shipping_method.active` ,
`shipping_method` . `position` as `shipping_method.position` ,
`shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` ,
`shipping_method` . `media_id` as `shipping_method.mediaId` ,
`shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` ,
`shipping_method` . `tax_type` as `shipping_method.taxType` ,
`shipping_method` . `tax_id` as `shipping_method.taxId` ,
`shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` ,
`shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` ,
`shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` ,
`shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` ,
`shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` ,
`shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` ,
`shipping_method.deliveryTime.translation.name` ,
`shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` ,
`shipping_method.deliveryTime.translation.customFields` ,
`shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` ,
`shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` ,
`shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` ,
`shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` ,
`shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` ,
`shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` ,
`shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` ,
`shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` ,
`shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` ,
`shipping_method` . `technical_name` as `shipping_method.technicalName` ,
`shipping_method` . `created_at` as `shipping_method.createdAt` ,
`shipping_method` . `updated_at` as `shipping_method.updatedAt` ,
`shipping_method.media` . `id` as `shipping_method.media.id` ,
`shipping_method.media` . `user_id` as `shipping_method.media.userId` ,
`shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` ,
`shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` ,
`shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` ,
`shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` ,
`shipping_method.media` . `file_name` as `shipping_method.media.fileName` ,
`shipping_method.media` . `file_size` as `shipping_method.media.fileSize` ,
`shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` ,
`shipping_method.media` . `meta_data` as `shipping_method.media.metaData` ,
`shipping_method.media` . `config` as `shipping_method.media.config` ,
`shipping_method.media` . `path` as `shipping_method.media.path` ,
`shipping_method.media` . `private` as `shipping_method.media.private` ,
`shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` ,
`shipping_method.media` . `created_at` as `shipping_method.media.createdAt` ,
`shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` ,
`shipping_method.media.translation.title` ,
`shipping_method.media.translation.title` as `shipping_method.media.title` ,
`shipping_method.media.translation.alt` ,
`shipping_method.media.translation.alt` as `shipping_method.media.alt` ,
`shipping_method.media.translation.customFields` ,
`shipping_method.media.translation.customFields` as `shipping_method.media.customFields` ,
`shipping_method.translation.name` ,
`shipping_method.translation.name` as `shipping_method.name` ,
`shipping_method.translation.description` ,
`shipping_method.translation.description` as `shipping_method.description` ,
`shipping_method.translation.trackingUrl` ,
`shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` ,
`shipping_method.translation.customFields` ,
`shipping_method.translation.customFields` as `shipping_method.customFields`
FROM
`shipping_method`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id`
LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id`
LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id`
LEFT JOIN (
SELECT
`shipping_method.translation` . `shipping_method_id` ,
`shipping_method.translation` . `name` as `shipping_method.translation.name` ,
`shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` ,
`shipping_method.translation` . `description` as `shipping_method.translation.description` ,
`shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation` . `language_id` = ?
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation` . `delivery_time_id` ,
`shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` ,
`shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation` . `language_id` = ?
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id`
LEFT JOIN (
SELECT
`shipping_method.media.translation` . `media_id` ,
`shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` ,
`shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` ,
`shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields`
FROM
`media_translation` `shipping_method.media.translation`
WHERE
`shipping_method.media.translation` . `language_id` = ?
) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id`
WHERE
`shipping_method` . `id` IN (? )
Copy
SELECT `shipping_method` . `id` as `shipping_method.id` , `shipping_method` . `active` as `shipping_method.active` , `shipping_method` . `position` as `shipping_method.position` , `shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` , `shipping_method` . `media_id` as `shipping_method.mediaId` , `shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` , `shipping_method` . `tax_type` as `shipping_method.taxType` , `shipping_method` . `tax_id` as `shipping_method.taxId` , `shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` , `shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` , `shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` , `shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` , `shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` , `shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` , `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` , `shipping_method.deliveryTime.translation.customFields` , `shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` , `shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` , `shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` , `shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` , `shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` , `shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` , `shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` , `shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` , `shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` , `shipping_method` . `technical_name` as `shipping_method.technicalName` , `shipping_method` . `created_at` as `shipping_method.createdAt` , `shipping_method` . `updated_at` as `shipping_method.updatedAt` , `shipping_method.media` . `id` as `shipping_method.media.id` , `shipping_method.media` . `user_id` as `shipping_method.media.userId` , `shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` , `shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` , `shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` , `shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` , `shipping_method.media` . `file_name` as `shipping_method.media.fileName` , `shipping_method.media` . `file_size` as `shipping_method.media.fileSize` , `shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` , `shipping_method.media` . `meta_data` as `shipping_method.media.metaData` , `shipping_method.media` . `config` as `shipping_method.media.config` , `shipping_method.media` . `path` as `shipping_method.media.path` , `shipping_method.media` . `private` as `shipping_method.media.private` , `shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` , `shipping_method.media` . `created_at` as `shipping_method.media.createdAt` , `shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` , `shipping_method.media.translation.title` , `shipping_method.media.translation.title` as `shipping_method.media.title` , `shipping_method.media.translation.alt` , `shipping_method.media.translation.alt` as `shipping_method.media.alt` , `shipping_method.media.translation.customFields` , `shipping_method.media.translation.customFields` as `shipping_method.media.customFields` , `shipping_method.translation.name` , `shipping_method.translation.name` as `shipping_method.name` , `shipping_method.translation.description` , `shipping_method.translation.description` as `shipping_method.description` , `shipping_method.translation.trackingUrl` , `shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` , `shipping_method.translation.customFields` , `shipping_method.translation.customFields` as `shipping_method.customFields` FROM `shipping_method` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` , `shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` , `shipping_method.translation` . `description` as `shipping_method.translation.description` , `shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation` . `delivery_time_id` , `shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN (SELECT `shipping_method.media.translation` . `media_id` , `shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` , `shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` , `shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id` WHERE `shipping_method` . `id` IN (0x88D25048A63546479EB057C1AC954D92 );
Copy
21
0.48 ms
SELECT `currency_country_rounding` . `id` FROM `currency_country_rounding` WHERE (`currency_country_rounding` . `currency_id` = ? AND `currency_country_rounding` . `country_id` = ? ) LIMIT 1
Parameters :
[
b"·ÒUK\f èGÍ‚ó¬›ÑÀßÊ "
b"ÿòy\x15 •ÖN\f Œ".fƒØºÆ "
]
SELECT `currency_country_rounding` . `id` FROM `currency_country_rounding` WHERE (`currency_country_rounding` . `currency_id` = 0xB7D2554B0CE847CD82F3AC9BD1C0DFCA AND `currency_country_rounding` . `country_id` = 0xFFF2791595D64E0C8C222E6683D8BAC6 ) LIMIT 1 ;
Copy
22
0.49 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
23
0.49 ms
SELECT `rule` . `id` FROM `rule` WHERE (`rule` . `invalid` = ? ) ORDER BY `rule` . `priority` DESC , `rule` . `id` ASC LIMIT 500
SELECT `rule` . `id` FROM `rule` WHERE (`rule` . `invalid` = 0 ) ORDER BY `rule` . `priority` DESC , `rule` . `id` ASC LIMIT 500 ;
Copy
24
0.42 ms
SELECT `rule` . `id` as `rule.id` , `rule` . `name` as `rule.name` , `rule` . `priority` as `rule.priority` , `rule` . `description` as `rule.description` , `rule` . `payload` as `rule.payload` , `rule` . `invalid` as `rule.invalid` , `rule` . `areas` as `rule.areas` , `rule` . `custom_fields` as `rule.customFields` , `rule` . `module_types` as `rule.moduleTypes` , `rule` . `created_at` as `rule.createdAt` , `rule` . `updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule` . `id` IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
b"“¿¥\x15 ·ÜL ¯\x00 Äž\x01 Ê\x7F _ "
b"š(\x13 û\x07 hB0½Åò]E¼Òy "
b"\x01 É\f 1<§q\x08 ź¬rk{J$ "
b"""
\x01 É\f 1ÿ½t·╣\n
ò1ÑgK~
"""
b"\x07 4ñÙþ\x17 E:ŠlP¾\x1C ¯ × "
b"CÁ\x11 <ž(H{ˆø\x01 Ðuèa\x16 "
b"║\x00 Ó\x1E ú\x1D @Øé·¹\x19 Ê┘µ~ "
b"""
Ú±¬‡rÿB6µ/\n
\x7F ®°‘Þ
"""
b"ã(x܇UK3¬\x13 @‘\x0E Þ+\t "
b"æʃÊw@JÕŠI:–G\e\x14 & "
b"]*¯f‡ÚFÍ´b™\x11 ‰ôÖ· "
b"4\x16 •§R¡C¥¿j\f\x1D É\x7F ®× "
b"gõò\x13 ÌçMì¼+j¸ß™\x06 ‰ "
]
SELECT `rule` . `id` as `rule.id` , `rule` . `name` as `rule.name` , `rule` . `priority` as `rule.priority` , `rule` . `description` as `rule.description` , `rule` . `payload` as `rule.payload` , `rule` . `invalid` as `rule.invalid` , `rule` . `areas` as `rule.areas` , `rule` . `custom_fields` as `rule.customFields` , `rule` . `module_types` as `rule.moduleTypes` , `rule` . `created_at` as `rule.createdAt` , `rule` . `updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule` . `id` IN (0x93BFA515B7DC4CA0AF00C49E01CA7F5F , 0x9A2813FB07684230BDC5F25D45BCD279 , 0x01900C313CF571088FA7AA726B7B4A24 , 0x01900C3198AB74FAB90A9531A5674B7E , 0x0734F1D9FE17453A8A6C50BE1CAFA0D7 , 0x43C1113C9E28487B88F801D075E86116 , 0xBA00E01EA31D409D82FAFB19D2D9E67E , 0xDAB1AC8772FF4236B52F0A7FAEB091DE , 0xE32878DC87554B33AC1340910EDE2B09 , 0xE6CA83CA77404AD58A493A96471B1426 , 0x5D2AAF6687DA46CDB462991189F4D6B7 , 0x341695A752A143A5BF6A0C1DC97FAED7 , 0x67F5F213CCE74DECBC2B6AB8DF990689 );
Copy
25
0.52 ms
SELECT `app` . `id` FROM `app` WHERE (`app` . `active` = ? )
SELECT `app` . `id` FROM `app` WHERE (`app` . `active` = 1 );
Copy
26
1.17 ms
SELECT `app` . `id` as `app.id` , `app` . `name` as `app.name` , `app` . `path` as `app.path` , `app` . `author` as `app.author` , `app` . `copyright` as `app.copyright` , `app` . `license` as `app.license` , `app` . `active` as `app.active` , `app` . `configurable` as `app.configurable` , `app` . `privacy` as `app.privacy` , `app` . `version` as `app.version` , `app` . `icon` as `app.iconRaw` , `app` . `app_secret` as `app.appSecret` , `app` . `modules` as `app.modules` , `app` . `main_module` as `app.mainModule` , `app` . `cookies` as `app.cookies` , `app` . `allow_disable` as `app.allowDisable` , `app` . `base_app_url` as `app.baseAppUrl` , `app` . `allowed_hosts` as `app.allowedHosts` , `app` . `template_load_priority` as `app.templateLoadPriority` , `app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` , `app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` , `app` . `source_type` as `app.sourceType` , `app` . `source_config` as `app.sourceConfig` , `app` . `self_managed` as `app.selfManaged` , `app` . `integration_id` as `app.integrationId` , `app.integration` . `id` as `app.integration.id` , `app.integration` . `label` as `app.integration.label` , `app.integration` . `access_key` as `app.integration.accessKey` , `app.integration` . `secret_access_key` as `app.integration.secretAccessKey` , `app.integration` . `last_usage_at` as `app.integration.lastUsageAt` , `app.integration` . `admin` as `app.integration.admin` , `app.integration` . `custom_fields` as `app.integration.customFields` , `app.integration` . `deleted_at` as `app.integration.deletedAt` , `app.integration` . `created_at` as `app.integration.createdAt` , `app.integration` . `updated_at` as `app.integration.updatedAt` , `app` . `acl_role_id` as `app.aclRoleId` , `app.aclRole` . `id` as `app.aclRole.id` , `app.aclRole` . `name` as `app.aclRole.name` , `app.aclRole` . `description` as `app.aclRole.description` , `app.aclRole` . `privileges` as `app.aclRole.privileges` , `app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` , `app.aclRole` . `created_at` as `app.aclRole.createdAt` , `app.aclRole` . `updated_at` as `app.aclRole.updatedAt` , `app` . `created_at` as `app.createdAt` , `app` . `updated_at` as `app.updatedAt` , `app.translation.label` , `app.translation.label` as `app.label` , `app.translation.description` , `app.translation.description` as `app.description` , `app.translation.privacyPolicyExtensions` , `app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` , `app.translation.customFields` , `app.translation.customFields` as `app.customFields` FROM `app` LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id` LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id` LEFT JOIN (SELECT `app.translation` . `app_id` , `app.translation` . `label` as `app.translation.label` , `app.translation` . `description` as `app.translation.description` , `app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` , `app.translation` . `custom_fields` as `app.translation.customFields` FROM `app_translation` `app.translation` WHERE `app.translation` . `language_id` = ? ) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id` WHERE `app` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x01 “+\x12 þðq\x11 ‚±ä\x01 µ˜-ß "
]
SELECT
`app` . `id` as `app.id` ,
`app` . `name` as `app.name` ,
`app` . `path` as `app.path` ,
`app` . `author` as `app.author` ,
`app` . `copyright` as `app.copyright` ,
`app` . `license` as `app.license` ,
`app` . `active` as `app.active` ,
`app` . `configurable` as `app.configurable` ,
`app` . `privacy` as `app.privacy` ,
`app` . `version` as `app.version` ,
`app` . `icon` as `app.iconRaw` ,
`app` . `app_secret` as `app.appSecret` ,
`app` . `modules` as `app.modules` ,
`app` . `main_module` as `app.mainModule` ,
`app` . `cookies` as `app.cookies` ,
`app` . `allow_disable` as `app.allowDisable` ,
`app` . `base_app_url` as `app.baseAppUrl` ,
`app` . `allowed_hosts` as `app.allowedHosts` ,
`app` . `template_load_priority` as `app.templateLoadPriority` ,
`app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` ,
`app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` ,
`app` . `source_type` as `app.sourceType` ,
`app` . `source_config` as `app.sourceConfig` ,
`app` . `self_managed` as `app.selfManaged` ,
`app` . `integration_id` as `app.integrationId` ,
`app.integration` . `id` as `app.integration.id` ,
`app.integration` . `label` as `app.integration.label` ,
`app.integration` . `access_key` as `app.integration.accessKey` ,
`app.integration` . `secret_access_key` as `app.integration.secretAccessKey` ,
`app.integration` . `last_usage_at` as `app.integration.lastUsageAt` ,
`app.integration` . `admin` as `app.integration.admin` ,
`app.integration` . `custom_fields` as `app.integration.customFields` ,
`app.integration` . `deleted_at` as `app.integration.deletedAt` ,
`app.integration` . `created_at` as `app.integration.createdAt` ,
`app.integration` . `updated_at` as `app.integration.updatedAt` ,
`app` . `acl_role_id` as `app.aclRoleId` ,
`app.aclRole` . `id` as `app.aclRole.id` ,
`app.aclRole` . `name` as `app.aclRole.name` ,
`app.aclRole` . `description` as `app.aclRole.description` ,
`app.aclRole` . `privileges` as `app.aclRole.privileges` ,
`app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` ,
`app.aclRole` . `created_at` as `app.aclRole.createdAt` ,
`app.aclRole` . `updated_at` as `app.aclRole.updatedAt` ,
`app` . `created_at` as `app.createdAt` ,
`app` . `updated_at` as `app.updatedAt` ,
`app.translation.label` ,
`app.translation.label` as `app.label` ,
`app.translation.description` ,
`app.translation.description` as `app.description` ,
`app.translation.privacyPolicyExtensions` ,
`app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` ,
`app.translation.customFields` ,
`app.translation.customFields` as `app.customFields`
FROM
`app`
LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id`
LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id`
LEFT JOIN (
SELECT
`app.translation` . `app_id` ,
`app.translation` . `label` as `app.translation.label` ,
`app.translation` . `description` as `app.translation.description` ,
`app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` ,
`app.translation` . `custom_fields` as `app.translation.customFields`
FROM
`app_translation` `app.translation`
WHERE
`app.translation` . `language_id` = ?
) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id`
WHERE
`app` . `id` IN (? )
Copy
SELECT `app` . `id` as `app.id` , `app` . `name` as `app.name` , `app` . `path` as `app.path` , `app` . `author` as `app.author` , `app` . `copyright` as `app.copyright` , `app` . `license` as `app.license` , `app` . `active` as `app.active` , `app` . `configurable` as `app.configurable` , `app` . `privacy` as `app.privacy` , `app` . `version` as `app.version` , `app` . `icon` as `app.iconRaw` , `app` . `app_secret` as `app.appSecret` , `app` . `modules` as `app.modules` , `app` . `main_module` as `app.mainModule` , `app` . `cookies` as `app.cookies` , `app` . `allow_disable` as `app.allowDisable` , `app` . `base_app_url` as `app.baseAppUrl` , `app` . `allowed_hosts` as `app.allowedHosts` , `app` . `template_load_priority` as `app.templateLoadPriority` , `app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` , `app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` , `app` . `source_type` as `app.sourceType` , `app` . `source_config` as `app.sourceConfig` , `app` . `self_managed` as `app.selfManaged` , `app` . `integration_id` as `app.integrationId` , `app.integration` . `id` as `app.integration.id` , `app.integration` . `label` as `app.integration.label` , `app.integration` . `access_key` as `app.integration.accessKey` , `app.integration` . `secret_access_key` as `app.integration.secretAccessKey` , `app.integration` . `last_usage_at` as `app.integration.lastUsageAt` , `app.integration` . `admin` as `app.integration.admin` , `app.integration` . `custom_fields` as `app.integration.customFields` , `app.integration` . `deleted_at` as `app.integration.deletedAt` , `app.integration` . `created_at` as `app.integration.createdAt` , `app.integration` . `updated_at` as `app.integration.updatedAt` , `app` . `acl_role_id` as `app.aclRoleId` , `app.aclRole` . `id` as `app.aclRole.id` , `app.aclRole` . `name` as `app.aclRole.name` , `app.aclRole` . `description` as `app.aclRole.description` , `app.aclRole` . `privileges` as `app.aclRole.privileges` , `app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` , `app.aclRole` . `created_at` as `app.aclRole.createdAt` , `app.aclRole` . `updated_at` as `app.aclRole.updatedAt` , `app` . `created_at` as `app.createdAt` , `app` . `updated_at` as `app.updatedAt` , `app.translation.label` , `app.translation.label` as `app.label` , `app.translation.description` , `app.translation.description` as `app.description` , `app.translation.privacyPolicyExtensions` , `app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` , `app.translation.customFields` , `app.translation.customFields` as `app.customFields` FROM `app` LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id` LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id` LEFT JOIN (SELECT `app.translation` . `app_id` , `app.translation` . `label` as `app.translation.label` , `app.translation` . `description` as `app.translation.description` , `app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` , `app.translation` . `custom_fields` as `app.translation.customFields` FROM `app_translation` `app.translation` WHERE `app.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id` WHERE `app` . `id` IN (0x01932B12FEF0711182B1E401B5982DDF );
Copy
27
0.35 ms
SELECT `script` . `id` as `script.id` , `script` . `script` as `script.script` , `script` . `hook` as `script.hook` , `script` . `name` as `script.name` , `script` . `active` as `script.active` , `script` . `app_id` as `script.appId` , `script` . `created_at` as `script.createdAt` , `script` . `updated_at` as `script.updatedAt` FROM `script` WHERE (`script` . `app_id` IN (? ))
Parameters :
[
b"\x01 “+\x12 þðq\x11 ‚±ä\x01 µ˜-ß "
]
SELECT `script` . `id` as `script.id` , `script` . `script` as `script.script` , `script` . `hook` as `script.hook` , `script` . `name` as `script.name` , `script` . `active` as `script.active` , `script` . `app_id` as `script.appId` , `script` . `created_at` as `script.createdAt` , `script` . `updated_at` as `script.updatedAt` FROM `script` WHERE (`script` . `app_id` IN (0x01932B12FEF0711182B1E401B5982DDF ));
Copy
28
0.97 ms
SELECT LOWER (HEX (`script` . `app_id` )) as `app_id` ,
`script` . `name` AS scriptName ,
`script` . `script` AS script ,
`script` . `hook` AS hook ,
IFNULL (`script` . `updated_at` , `script` . `created_at` ) AS lastModified ,
`app` . `name` AS appName ,
LOWER (HEX (`app` . `integration_id` )) AS integrationId ,
`app` . `version` AS appVersion ,
`script` . `active` AS active
FROM `script`
LEFT JOIN `app` ON `script` . `app_id` = `app` . `id`
WHERE `script` . `hook` ! = 'include'
ORDER BY `app` . `created_at` , `app` . `id` , `script` . `name`
SELECT LOWER (HEX (`script` . `app_id` )) as `app_id` ,
`script` . `name` AS scriptName ,
`script` . `script` AS script ,
`script` . `hook` AS hook ,
IFNULL (`script` . `updated_at` , `script` . `created_at` ) AS lastModified ,
`app` . `name` AS appName ,
LOWER (HEX (`app` . `integration_id` )) AS integrationId ,
`app` . `version` AS appVersion ,
`script` . `active` AS active
FROM `script`
LEFT JOIN `app` ON `script` . `app_id` = `app` . `id`
WHERE `script` . `hook` ! = 'include'
ORDER BY `app` . `created_at` , `app` . `id` , `script` . `name`
;
Copy
29
0.57 ms
SELECT LOWER (HEX (`script` . `app_id` )) as `app_id` ,
`script` . `name` AS name ,
`script` . `script` AS script ,
`app` . `name` AS appName ,
LOWER (HEX (`app` . `integration_id` )) AS integrationId ,
IFNULL (`script` . `updated_at` , `script` . `created_at` ) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script` . `app_id` = `app` . `id`
WHERE `script` . `hook` = 'include'
ORDER BY `app` . `created_at` , `app` . `id` , `script` . `name`
SELECT LOWER (HEX (`script` . `app_id` )) as `app_id` ,
`script` . `name` AS name ,
`script` . `script` AS script ,
`app` . `name` AS appName ,
LOWER (HEX (`app` . `integration_id` )) AS integrationId ,
IFNULL (`script` . `updated_at` , `script` . `created_at` ) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script` . `app_id` = `app` . `id`
WHERE `script` . `hook` = 'include'
ORDER BY `app` . `created_at` , `app` . `id` , `script` . `name`
;
Copy
30
0.30 ms
SELECT `sales_channel_country` . `sales_channel_id` , `sales_channel_country` . `country_id` FROM `sales_channel_country` WHERE (`sales_channel_country` . `sales_channel_id` = ? AND `sales_channel_country` . `country_id` = ? )
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
b"ÿòy\x15 •ÖN\f Œ".fƒØºÆ "
]
SELECT `sales_channel_country` . `sales_channel_id` , `sales_channel_country` . `country_id` FROM `sales_channel_country` WHERE (`sales_channel_country` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND `sales_channel_country` . `country_id` = 0xFFF2791595D64E0C8C222E6683D8BAC6 );
Copy
31
0.75 ms
SELECT module . module , module . response FROM wbm_data_layer_modules module
SELECT module . module , module . response FROM wbm_data_layer_modules module ;
Copy
32
0.85 ms
SELECT
variant_listing_config as variantListingConfig ,
parent_id as parentId
FROM product
WHERE id = ?
AND version_id = ?
Parameters :
[
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
]
SELECT
variant_listing_config as variantListingConfig ,
parent_id as parentId
FROM product
WHERE id = 0x018F5247E3737D4A9406FE0BE274B735
AND version_id = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ;
Copy
33
1.45 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((`product` . `parent_id` = ? AND ((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) ORDER BY `product` . `available` DESC , IFNULL ((ROUND (CAST ((COALESCE ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `price` , "$.cb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) + 0.0 ))) as DECIMAL (30 , 20 )), 10 )), (ROUND (CAST ((COALESCE ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `price` , "$.cb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) + 0.0 ))) as DECIMAL (30 , 20 )), 10 ))) ASC LIMIT 1
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND ((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) ORDER BY `product` . `available` DESC , IFNULL ((ROUND (CAST ((COALESCE ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `price` , "$.cb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) + 0.0 ))) as DECIMAL (30 , 20 )), 10 )), (ROUND (CAST ((COALESCE ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `price` , "$.cb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) + 0.0 ))) as DECIMAL (30 , 20 )), 10 ))) ASC LIMIT 1 ;
Copy
34
1.58 ms
SELECT configuration_key , configuration_value FROM system_config WHERE sales_channel_id = ? OR system_config . sales_channel_id IS NULL ORDER BY sales_channel_id ASC
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT configuration_key , configuration_value FROM system_config WHERE sales_channel_id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE OR system_config . sales_channel_id IS NULL ORDER BY sales_channel_id ASC ;
Copy
35
0.50 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) AND (`product` . `id` IN (? )) GROUP BY `product` . `id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 )) GROUP BY `product` . `id` ;
Copy
36
3.11 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.manufacturer` . `id` as `product.manufacturer.id` , `product.manufacturer` . `version_id` as `product.manufacturer.versionId` , `product.manufacturer` . `media_id` as `product.manufacturer.mediaId` , `product.manufacturer` . `link` as `product.manufacturer.link` , `product.manufacturer` . `created_at` as `product.manufacturer.createdAt` , `product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` , `product.manufacturer.media` . `id` as `product.manufacturer.media.id` , `product.manufacturer.media` . `user_id` as `product.manufacturer.media.userId` , `product.manufacturer.media` . `media_folder_id` as `product.manufacturer.media.mediaFolderId` , `product.manufacturer.media` . `mime_type` as `product.manufacturer.media.mimeType` , `product.manufacturer.media` . `file_extension` as `product.manufacturer.media.fileExtension` , `product.manufacturer.media` . `uploaded_at` as `product.manufacturer.media.uploadedAt` , `product.manufacturer.media` . `file_name` as `product.manufacturer.media.fileName` , `product.manufacturer.media` . `file_size` as `product.manufacturer.media.fileSize` , `product.manufacturer.media` . `media_type` as `product.manufacturer.media.mediaTypeRaw` , `product.manufacturer.media` . `meta_data` as `product.manufacturer.media.metaData` , `product.manufacturer.media` . `config` as `product.manufacturer.media.config` , `product.manufacturer.media` . `path` as `product.manufacturer.media.path` , `product.manufacturer.media` . `private` as `product.manufacturer.media.private` , `product.manufacturer.media` . `thumbnails_ro` as `product.manufacturer.media.thumbnailsRo` , `product.manufacturer.media` . `created_at` as `product.manufacturer.media.createdAt` , `product.manufacturer.media` . `updated_at` as `product.manufacturer.media.updatedAt` , `product.manufacturer.media.translation.title` , `product.manufacturer.media.translation.title` as `product.manufacturer.media.title` , `product.manufacturer.media.translation.alt` , `product.manufacturer.media.translation.alt` as `product.manufacturer.media.alt` , `product.manufacturer.media.translation.customFields` , `product.manufacturer.media.translation.customFields` as `product.manufacturer.media.customFields` , `product.manufacturer.translation.name` , `product.manufacturer.translation.name` as `product.manufacturer.name` , `product.manufacturer.translation.description` , `product.manufacturer.translation.description` as `product.manufacturer.description` , `product.manufacturer.translation.customFields` , `product.manufacturer.translation.customFields` as `product.manufacturer.customFields` , (SELECT GROUP_CONCAT (HEX (`product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping` . `product_id` = `product` . `id` ) as `product.options.id_mapping` , (SELECT GROUP_CONCAT (HEX (`product.properties.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping` . `product_id` = `product` . `properties` ) as `product.properties.id_mapping` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id` AND IFNULL (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) = `product.manufacturer` . `version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN `media` `product.manufacturer.media` ON `product.manufacturer` . `media_id` = `product.manufacturer.media` . `id` LEFT JOIN (SELECT `product.manufacturer.translation` . `product_manufacturer_id` , `product.manufacturer.translation` . `product_manufacturer_version_id` , `product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` , `product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` , `product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields` FROM `product_manufacturer_translation` `product.manufacturer.translation` WHERE `product.manufacturer.translation` . `language_id` = ? ) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id` AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id` LEFT JOIN (SELECT `product.manufacturer.media.translation` . `media_id` , `product.manufacturer.media.translation` . `alt` as `product.manufacturer.media.translation.alt` , `product.manufacturer.media.translation` . `title` as `product.manufacturer.media.translation.title` , `product.manufacturer.media.translation` . `custom_fields` as `product.manufacturer.media.translation.customFields` FROM `media_translation` `product.manufacturer.media.translation` WHERE `product.manufacturer.media.translation` . `language_id` = ? ) `product.manufacturer.media.media_translation` ON `product.manufacturer.media.media_translation` . `media_id` = `product.manufacturer.media` . `id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.manufacturer` . `id` as `product.manufacturer.id` ,
`product.manufacturer` . `version_id` as `product.manufacturer.versionId` ,
`product.manufacturer` . `media_id` as `product.manufacturer.mediaId` ,
`product.manufacturer` . `link` as `product.manufacturer.link` ,
`product.manufacturer` . `created_at` as `product.manufacturer.createdAt` ,
`product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` ,
`product.manufacturer.media` . `id` as `product.manufacturer.media.id` ,
`product.manufacturer.media` . `user_id` as `product.manufacturer.media.userId` ,
`product.manufacturer.media` . `media_folder_id` as `product.manufacturer.media.mediaFolderId` ,
`product.manufacturer.media` . `mime_type` as `product.manufacturer.media.mimeType` ,
`product.manufacturer.media` . `file_extension` as `product.manufacturer.media.fileExtension` ,
`product.manufacturer.media` . `uploaded_at` as `product.manufacturer.media.uploadedAt` ,
`product.manufacturer.media` . `file_name` as `product.manufacturer.media.fileName` ,
`product.manufacturer.media` . `file_size` as `product.manufacturer.media.fileSize` ,
`product.manufacturer.media` . `media_type` as `product.manufacturer.media.mediaTypeRaw` ,
`product.manufacturer.media` . `meta_data` as `product.manufacturer.media.metaData` ,
`product.manufacturer.media` . `config` as `product.manufacturer.media.config` ,
`product.manufacturer.media` . `path` as `product.manufacturer.media.path` ,
`product.manufacturer.media` . `private` as `product.manufacturer.media.private` ,
`product.manufacturer.media` . `thumbnails_ro` as `product.manufacturer.media.thumbnailsRo` ,
`product.manufacturer.media` . `created_at` as `product.manufacturer.media.createdAt` ,
`product.manufacturer.media` . `updated_at` as `product.manufacturer.media.updatedAt` ,
`product.manufacturer.media.translation.title` ,
`product.manufacturer.media.translation.title` as `product.manufacturer.media.title` ,
`product.manufacturer.media.translation.alt` ,
`product.manufacturer.media.translation.alt` as `product.manufacturer.media.alt` ,
`product.manufacturer.media.translation.customFields` ,
`product.manufacturer.media.translation.customFields` as `product.manufacturer.media.customFields` ,
`product.manufacturer.translation.name` ,
`product.manufacturer.translation.name` as `product.manufacturer.name` ,
`product.manufacturer.translation.description` ,
`product.manufacturer.translation.description` as `product.manufacturer.description` ,
`product.manufacturer.translation.customFields` ,
`product.manufacturer.translation.customFields` as `product.manufacturer.customFields` ,
(
SELECT
GROUP_CONCAT (
HEX (
`product.options.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping` . `product_id` = `product` . `id`
) as `product.options.id_mapping` ,
(
SELECT
GROUP_CONCAT (
HEX (
`product.properties.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_property` `product.properties.mapping`
WHERE
`product.properties.mapping` . `product_id` = `product` . `properties`
) as `product.properties.id_mapping` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id`
AND IFNULL (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) = `product.manufacturer` . `version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN `media` `product.manufacturer.media` ON `product.manufacturer` . `media_id` = `product.manufacturer.media` . `id`
LEFT JOIN (
SELECT
`product.manufacturer.translation` . `product_manufacturer_id` ,
`product.manufacturer.translation` . `product_manufacturer_version_id` ,
`product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` ,
`product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` ,
`product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields`
FROM
`product_manufacturer_translation` `product.manufacturer.translation`
WHERE
`product.manufacturer.translation` . `language_id` = ?
) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id`
AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id`
LEFT JOIN (
SELECT
`product.manufacturer.media.translation` . `media_id` ,
`product.manufacturer.media.translation` . `alt` as `product.manufacturer.media.translation.alt` ,
`product.manufacturer.media.translation` . `title` as `product.manufacturer.media.translation.title` ,
`product.manufacturer.media.translation` . `custom_fields` as `product.manufacturer.media.translation.customFields`
FROM
`media_translation` `product.manufacturer.media.translation`
WHERE
`product.manufacturer.media.translation` . `language_id` = ?
) `product.manufacturer.media.media_translation` ON `product.manufacturer.media.media_translation` . `media_id` = `product.manufacturer.media` . `id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.manufacturer` . `id` as `product.manufacturer.id` , `product.manufacturer` . `version_id` as `product.manufacturer.versionId` , `product.manufacturer` . `media_id` as `product.manufacturer.mediaId` , `product.manufacturer` . `link` as `product.manufacturer.link` , `product.manufacturer` . `created_at` as `product.manufacturer.createdAt` , `product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` , `product.manufacturer.media` . `id` as `product.manufacturer.media.id` , `product.manufacturer.media` . `user_id` as `product.manufacturer.media.userId` , `product.manufacturer.media` . `media_folder_id` as `product.manufacturer.media.mediaFolderId` , `product.manufacturer.media` . `mime_type` as `product.manufacturer.media.mimeType` , `product.manufacturer.media` . `file_extension` as `product.manufacturer.media.fileExtension` , `product.manufacturer.media` . `uploaded_at` as `product.manufacturer.media.uploadedAt` , `product.manufacturer.media` . `file_name` as `product.manufacturer.media.fileName` , `product.manufacturer.media` . `file_size` as `product.manufacturer.media.fileSize` , `product.manufacturer.media` . `media_type` as `product.manufacturer.media.mediaTypeRaw` , `product.manufacturer.media` . `meta_data` as `product.manufacturer.media.metaData` , `product.manufacturer.media` . `config` as `product.manufacturer.media.config` , `product.manufacturer.media` . `path` as `product.manufacturer.media.path` , `product.manufacturer.media` . `private` as `product.manufacturer.media.private` , `product.manufacturer.media` . `thumbnails_ro` as `product.manufacturer.media.thumbnailsRo` , `product.manufacturer.media` . `created_at` as `product.manufacturer.media.createdAt` , `product.manufacturer.media` . `updated_at` as `product.manufacturer.media.updatedAt` , `product.manufacturer.media.translation.title` , `product.manufacturer.media.translation.title` as `product.manufacturer.media.title` , `product.manufacturer.media.translation.alt` , `product.manufacturer.media.translation.alt` as `product.manufacturer.media.alt` , `product.manufacturer.media.translation.customFields` , `product.manufacturer.media.translation.customFields` as `product.manufacturer.media.customFields` , `product.manufacturer.translation.name` , `product.manufacturer.translation.name` as `product.manufacturer.name` , `product.manufacturer.translation.description` , `product.manufacturer.translation.description` as `product.manufacturer.description` , `product.manufacturer.translation.customFields` , `product.manufacturer.translation.customFields` as `product.manufacturer.customFields` , (SELECT GROUP_CONCAT (HEX (`product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping` . `product_id` = `product` . `id` ) as `product.options.id_mapping` , (SELECT GROUP_CONCAT (HEX (`product.properties.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping` . `product_id` = `product` . `properties` ) as `product.properties.id_mapping` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id` AND IFNULL (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) = `product.manufacturer` . `version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN `media` `product.manufacturer.media` ON `product.manufacturer` . `media_id` = `product.manufacturer.media` . `id` LEFT JOIN (SELECT `product.manufacturer.translation` . `product_manufacturer_id` , `product.manufacturer.translation` . `product_manufacturer_version_id` , `product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` , `product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` , `product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields` FROM `product_manufacturer_translation` `product.manufacturer.translation` WHERE `product.manufacturer.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id` AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id` LEFT JOIN (SELECT `product.manufacturer.media.translation` . `media_id` , `product.manufacturer.media.translation` . `alt` as `product.manufacturer.media.translation.alt` , `product.manufacturer.media.translation` . `title` as `product.manufacturer.media.translation.title` , `product.manufacturer.media.translation` . `custom_fields` as `product.manufacturer.media.translation.customFields` FROM `media_translation` `product.manufacturer.media.translation` WHERE `product.manufacturer.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.manufacturer.media.media_translation` ON `product.manufacturer.media.media_translation` . `media_id` = `product.manufacturer.media` . `id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
37
1.30 ms
SELECT `main_category` . `id` as `main_category.id` , `main_category` . `product_id` as `main_category.productId` , `main_category` . `product_version_id` as `main_category.productVersionId` , `main_category` . `category_id` as `main_category.categoryId` , `main_category` . `category_version_id` as `main_category.categoryVersionId` , `main_category` . `sales_channel_id` as `main_category.salesChannelId` , `main_category` . `created_at` as `main_category.createdAt` , `main_category` . `updated_at` as `main_category.updatedAt` , `main_category.category` . `id` as `main_category.category.id` , `main_category.category` . `version_id` as `main_category.category.versionId` , `main_category.category` . `parent_id` as `main_category.category.parentId` , `main_category.category` . `parent_version_id` as `main_category.category.parentVersionId` , `main_category.category` . `after_category_id` as `main_category.category.afterCategoryId` , `main_category.category` . `after_category_version_id` as `main_category.category.afterCategoryVersionId` , `main_category.category` . `media_id` as `main_category.category.mediaId` , `main_category.category` . `display_nested_products` as `main_category.category.displayNestedProducts` , `main_category.category` . `auto_increment` as `main_category.category.autoIncrement` , `main_category.category` . `level` as `main_category.category.level` , `main_category.category` . `path` as `main_category.category.path` , `main_category.category` . `child_count` as `main_category.category.childCount` , `main_category.category` . `type` as `main_category.category.type` , `main_category.category` . `product_assignment_type` as `main_category.category.productAssignmentType` , `main_category.category` . `visible` as `main_category.category.visible` , `main_category.category` . `active` as `main_category.category.active` , `main_category.category` . `cms_page_id` as `main_category.category.cmsPageId` , `main_category.category` . `cms_page_version_id` as `main_category.category.cmsPageVersionId` , `main_category.category` . `product_stream_id` as `main_category.category.productStreamId` , `main_category.category` . `custom_entity_type_id` as `main_category.category.customEntityTypeId` , `main_category.category` . `created_at` as `main_category.category.createdAt` , `main_category.category` . `updated_at` as `main_category.category.updatedAt` , `main_category.category.translation.name` , `main_category.category.translation.name` as `main_category.category.name` , `main_category.category.translation.breadcrumb` , `main_category.category.translation.breadcrumb` as `main_category.category.breadcrumb` , `main_category.category.translation.slotConfig` , `main_category.category.translation.slotConfig` as `main_category.category.slotConfig` , `main_category.category.translation.linkType` , `main_category.category.translation.linkType` as `main_category.category.linkType` , `main_category.category.translation.internalLink` , `main_category.category.translation.internalLink` as `main_category.category.internalLink` , `main_category.category.translation.externalLink` , `main_category.category.translation.externalLink` as `main_category.category.externalLink` , `main_category.category.translation.linkNewTab` , `main_category.category.translation.linkNewTab` as `main_category.category.linkNewTab` , `main_category.category.translation.description` , `main_category.category.translation.description` as `main_category.category.description` , `main_category.category.translation.metaTitle` , `main_category.category.translation.metaTitle` as `main_category.category.metaTitle` , `main_category.category.translation.metaDescription` , `main_category.category.translation.metaDescription` as `main_category.category.metaDescription` , `main_category.category.translation.keywords` , `main_category.category.translation.keywords` as `main_category.category.keywords` , `main_category.category.translation.customFields` , `main_category.category.translation.customFields` as `main_category.category.customFields` FROM `main_category` LEFT JOIN `category` `main_category.category` ON `main_category` . `category_id` = `main_category.category` . `id` AND `main_category` . `category_version_id` = `main_category.category` . `version_id` LEFT JOIN (SELECT `main_category.category.translation` . `category_id` , `main_category.category.translation` . `category_version_id` , `main_category.category.translation` . `breadcrumb` as `main_category.category.translation.breadcrumb` , `main_category.category.translation` . `name` as `main_category.category.translation.name` , `main_category.category.translation` . `custom_fields` as `main_category.category.translation.customFields` , `main_category.category.translation` . `slot_config` as `main_category.category.translation.slotConfig` , `main_category.category.translation` . `link_type` as `main_category.category.translation.linkType` , `main_category.category.translation` . `internal_link` as `main_category.category.translation.internalLink` , `main_category.category.translation` . `external_link` as `main_category.category.translation.externalLink` , `main_category.category.translation` . `link_new_tab` as `main_category.category.translation.linkNewTab` , `main_category.category.translation` . `description` as `main_category.category.translation.description` , `main_category.category.translation` . `meta_title` as `main_category.category.translation.metaTitle` , `main_category.category.translation` . `meta_description` as `main_category.category.translation.metaDescription` , `main_category.category.translation` . `keywords` as `main_category.category.translation.keywords` FROM `category_translation` `main_category.category.translation` WHERE `main_category.category.translation` . `language_id` = ? ) `main_category.category.category_translation` ON `main_category.category.category_translation` . `category_id` = `main_category.category` . `id` AND `main_category.category.category_translation` . `category_version_id` = `main_category.category` . `version_id` WHERE (`main_category` . `sales_channel_id` = ? AND `main_category` . `product_id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`main_category` . `id` as `main_category.id` ,
`main_category` . `product_id` as `main_category.productId` ,
`main_category` . `product_version_id` as `main_category.productVersionId` ,
`main_category` . `category_id` as `main_category.categoryId` ,
`main_category` . `category_version_id` as `main_category.categoryVersionId` ,
`main_category` . `sales_channel_id` as `main_category.salesChannelId` ,
`main_category` . `created_at` as `main_category.createdAt` ,
`main_category` . `updated_at` as `main_category.updatedAt` ,
`main_category.category` . `id` as `main_category.category.id` ,
`main_category.category` . `version_id` as `main_category.category.versionId` ,
`main_category.category` . `parent_id` as `main_category.category.parentId` ,
`main_category.category` . `parent_version_id` as `main_category.category.parentVersionId` ,
`main_category.category` . `after_category_id` as `main_category.category.afterCategoryId` ,
`main_category.category` . `after_category_version_id` as `main_category.category.afterCategoryVersionId` ,
`main_category.category` . `media_id` as `main_category.category.mediaId` ,
`main_category.category` . `display_nested_products` as `main_category.category.displayNestedProducts` ,
`main_category.category` . `auto_increment` as `main_category.category.autoIncrement` ,
`main_category.category` . `level` as `main_category.category.level` ,
`main_category.category` . `path` as `main_category.category.path` ,
`main_category.category` . `child_count` as `main_category.category.childCount` ,
`main_category.category` . `type` as `main_category.category.type` ,
`main_category.category` . `product_assignment_type` as `main_category.category.productAssignmentType` ,
`main_category.category` . `visible` as `main_category.category.visible` ,
`main_category.category` . `active` as `main_category.category.active` ,
`main_category.category` . `cms_page_id` as `main_category.category.cmsPageId` ,
`main_category.category` . `cms_page_version_id` as `main_category.category.cmsPageVersionId` ,
`main_category.category` . `product_stream_id` as `main_category.category.productStreamId` ,
`main_category.category` . `custom_entity_type_id` as `main_category.category.customEntityTypeId` ,
`main_category.category` . `created_at` as `main_category.category.createdAt` ,
`main_category.category` . `updated_at` as `main_category.category.updatedAt` ,
`main_category.category.translation.name` ,
`main_category.category.translation.name` as `main_category.category.name` ,
`main_category.category.translation.breadcrumb` ,
`main_category.category.translation.breadcrumb` as `main_category.category.breadcrumb` ,
`main_category.category.translation.slotConfig` ,
`main_category.category.translation.slotConfig` as `main_category.category.slotConfig` ,
`main_category.category.translation.linkType` ,
`main_category.category.translation.linkType` as `main_category.category.linkType` ,
`main_category.category.translation.internalLink` ,
`main_category.category.translation.internalLink` as `main_category.category.internalLink` ,
`main_category.category.translation.externalLink` ,
`main_category.category.translation.externalLink` as `main_category.category.externalLink` ,
`main_category.category.translation.linkNewTab` ,
`main_category.category.translation.linkNewTab` as `main_category.category.linkNewTab` ,
`main_category.category.translation.description` ,
`main_category.category.translation.description` as `main_category.category.description` ,
`main_category.category.translation.metaTitle` ,
`main_category.category.translation.metaTitle` as `main_category.category.metaTitle` ,
`main_category.category.translation.metaDescription` ,
`main_category.category.translation.metaDescription` as `main_category.category.metaDescription` ,
`main_category.category.translation.keywords` ,
`main_category.category.translation.keywords` as `main_category.category.keywords` ,
`main_category.category.translation.customFields` ,
`main_category.category.translation.customFields` as `main_category.category.customFields`
FROM
`main_category`
LEFT JOIN `category` `main_category.category` ON `main_category` . `category_id` = `main_category.category` . `id`
AND `main_category` . `category_version_id` = `main_category.category` . `version_id`
LEFT JOIN (
SELECT
`main_category.category.translation` . `category_id` ,
`main_category.category.translation` . `category_version_id` ,
`main_category.category.translation` . `breadcrumb` as `main_category.category.translation.breadcrumb` ,
`main_category.category.translation` . `name` as `main_category.category.translation.name` ,
`main_category.category.translation` . `custom_fields` as `main_category.category.translation.customFields` ,
`main_category.category.translation` . `slot_config` as `main_category.category.translation.slotConfig` ,
`main_category.category.translation` . `link_type` as `main_category.category.translation.linkType` ,
`main_category.category.translation` . `internal_link` as `main_category.category.translation.internalLink` ,
`main_category.category.translation` . `external_link` as `main_category.category.translation.externalLink` ,
`main_category.category.translation` . `link_new_tab` as `main_category.category.translation.linkNewTab` ,
`main_category.category.translation` . `description` as `main_category.category.translation.description` ,
`main_category.category.translation` . `meta_title` as `main_category.category.translation.metaTitle` ,
`main_category.category.translation` . `meta_description` as `main_category.category.translation.metaDescription` ,
`main_category.category.translation` . `keywords` as `main_category.category.translation.keywords`
FROM
`category_translation` `main_category.category.translation`
WHERE
`main_category.category.translation` . `language_id` = ?
) `main_category.category.category_translation` ON `main_category.category.category_translation` . `category_id` = `main_category.category` . `id`
AND `main_category.category.category_translation` . `category_version_id` = `main_category.category` . `version_id`
WHERE
(
`main_category` . `sales_channel_id` = ?
AND `main_category` . `product_id` IN (? )
)
Copy
SELECT `main_category` . `id` as `main_category.id` , `main_category` . `product_id` as `main_category.productId` , `main_category` . `product_version_id` as `main_category.productVersionId` , `main_category` . `category_id` as `main_category.categoryId` , `main_category` . `category_version_id` as `main_category.categoryVersionId` , `main_category` . `sales_channel_id` as `main_category.salesChannelId` , `main_category` . `created_at` as `main_category.createdAt` , `main_category` . `updated_at` as `main_category.updatedAt` , `main_category.category` . `id` as `main_category.category.id` , `main_category.category` . `version_id` as `main_category.category.versionId` , `main_category.category` . `parent_id` as `main_category.category.parentId` , `main_category.category` . `parent_version_id` as `main_category.category.parentVersionId` , `main_category.category` . `after_category_id` as `main_category.category.afterCategoryId` , `main_category.category` . `after_category_version_id` as `main_category.category.afterCategoryVersionId` , `main_category.category` . `media_id` as `main_category.category.mediaId` , `main_category.category` . `display_nested_products` as `main_category.category.displayNestedProducts` , `main_category.category` . `auto_increment` as `main_category.category.autoIncrement` , `main_category.category` . `level` as `main_category.category.level` , `main_category.category` . `path` as `main_category.category.path` , `main_category.category` . `child_count` as `main_category.category.childCount` , `main_category.category` . `type` as `main_category.category.type` , `main_category.category` . `product_assignment_type` as `main_category.category.productAssignmentType` , `main_category.category` . `visible` as `main_category.category.visible` , `main_category.category` . `active` as `main_category.category.active` , `main_category.category` . `cms_page_id` as `main_category.category.cmsPageId` , `main_category.category` . `cms_page_version_id` as `main_category.category.cmsPageVersionId` , `main_category.category` . `product_stream_id` as `main_category.category.productStreamId` , `main_category.category` . `custom_entity_type_id` as `main_category.category.customEntityTypeId` , `main_category.category` . `created_at` as `main_category.category.createdAt` , `main_category.category` . `updated_at` as `main_category.category.updatedAt` , `main_category.category.translation.name` , `main_category.category.translation.name` as `main_category.category.name` , `main_category.category.translation.breadcrumb` , `main_category.category.translation.breadcrumb` as `main_category.category.breadcrumb` , `main_category.category.translation.slotConfig` , `main_category.category.translation.slotConfig` as `main_category.category.slotConfig` , `main_category.category.translation.linkType` , `main_category.category.translation.linkType` as `main_category.category.linkType` , `main_category.category.translation.internalLink` , `main_category.category.translation.internalLink` as `main_category.category.internalLink` , `main_category.category.translation.externalLink` , `main_category.category.translation.externalLink` as `main_category.category.externalLink` , `main_category.category.translation.linkNewTab` , `main_category.category.translation.linkNewTab` as `main_category.category.linkNewTab` , `main_category.category.translation.description` , `main_category.category.translation.description` as `main_category.category.description` , `main_category.category.translation.metaTitle` , `main_category.category.translation.metaTitle` as `main_category.category.metaTitle` , `main_category.category.translation.metaDescription` , `main_category.category.translation.metaDescription` as `main_category.category.metaDescription` , `main_category.category.translation.keywords` , `main_category.category.translation.keywords` as `main_category.category.keywords` , `main_category.category.translation.customFields` , `main_category.category.translation.customFields` as `main_category.category.customFields` FROM `main_category` LEFT JOIN `category` `main_category.category` ON `main_category` . `category_id` = `main_category.category` . `id` AND `main_category` . `category_version_id` = `main_category.category` . `version_id` LEFT JOIN (SELECT `main_category.category.translation` . `category_id` , `main_category.category.translation` . `category_version_id` , `main_category.category.translation` . `breadcrumb` as `main_category.category.translation.breadcrumb` , `main_category.category.translation` . `name` as `main_category.category.translation.name` , `main_category.category.translation` . `custom_fields` as `main_category.category.translation.customFields` , `main_category.category.translation` . `slot_config` as `main_category.category.translation.slotConfig` , `main_category.category.translation` . `link_type` as `main_category.category.translation.linkType` , `main_category.category.translation` . `internal_link` as `main_category.category.translation.internalLink` , `main_category.category.translation` . `external_link` as `main_category.category.translation.externalLink` , `main_category.category.translation` . `link_new_tab` as `main_category.category.translation.linkNewTab` , `main_category.category.translation` . `description` as `main_category.category.translation.description` , `main_category.category.translation` . `meta_title` as `main_category.category.translation.metaTitle` , `main_category.category.translation` . `meta_description` as `main_category.category.translation.metaDescription` , `main_category.category.translation` . `keywords` as `main_category.category.translation.keywords` FROM `category_translation` `main_category.category.translation` WHERE `main_category.category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `main_category.category.category_translation` ON `main_category.category.category_translation` . `category_id` = `main_category.category` . `id` AND `main_category.category.category_translation` . `category_version_id` = `main_category.category` . `version_id` WHERE (`main_category` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND `main_category` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
38
0.71 ms
SELECT `product_media` . `id` as `product_media.id` , `product_media` . `version_id` as `product_media.versionId` , `product_media` . `product_id` as `product_media.productId` , `product_media` . `product_version_id` as `product_media.productVersionId` , `product_media` . `media_id` as `product_media.mediaId` , `product_media` . `position` as `product_media.position` , `product_media.media` . `id` as `product_media.media.id` , `product_media.media` . `user_id` as `product_media.media.userId` , `product_media.media` . `media_folder_id` as `product_media.media.mediaFolderId` , `product_media.media` . `mime_type` as `product_media.media.mimeType` , `product_media.media` . `file_extension` as `product_media.media.fileExtension` , `product_media.media` . `uploaded_at` as `product_media.media.uploadedAt` , `product_media.media` . `file_name` as `product_media.media.fileName` , `product_media.media` . `file_size` as `product_media.media.fileSize` , `product_media.media` . `media_type` as `product_media.media.mediaTypeRaw` , `product_media.media` . `meta_data` as `product_media.media.metaData` , `product_media.media` . `config` as `product_media.media.config` , `product_media.media` . `path` as `product_media.media.path` , `product_media.media` . `private` as `product_media.media.private` , `product_media.media` . `thumbnails_ro` as `product_media.media.thumbnailsRo` , `product_media.media` . `created_at` as `product_media.media.createdAt` , `product_media.media` . `updated_at` as `product_media.media.updatedAt` , `product_media.media.translation.title` , `product_media.media.translation.title` as `product_media.media.title` , `product_media.media.translation.alt` , `product_media.media.translation.alt` as `product_media.media.alt` , `product_media.media.translation.customFields` , `product_media.media.translation.customFields` as `product_media.media.customFields` , `product_media` . `custom_fields` as `product_media.customFields` , `product_media` . `created_at` as `product_media.createdAt` , `product_media` . `updated_at` as `product_media.updatedAt` FROM `product_media` LEFT JOIN `media` `product_media.media` ON `product_media` . `media_id` = `product_media.media` . `id` LEFT JOIN (SELECT `product_media.media.translation` . `media_id` , `product_media.media.translation` . `alt` as `product_media.media.translation.alt` , `product_media.media.translation` . `title` as `product_media.media.translation.title` , `product_media.media.translation` . `custom_fields` as `product_media.media.translation.customFields` FROM `media_translation` `product_media.media.translation` WHERE `product_media.media.translation` . `language_id` = ? ) `product_media.media.media_translation` ON `product_media.media.media_translation` . `media_id` = `product_media.media` . `id` WHERE (`product_media` . `version_id` = ? ) AND ((`product_media` . `product_id` IN (? ))) ORDER BY `product_media` . `position` ASC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_media` . `id` as `product_media.id` , `product_media` . `version_id` as `product_media.versionId` , `product_media` . `product_id` as `product_media.productId` , `product_media` . `product_version_id` as `product_media.productVersionId` , `product_media` . `media_id` as `product_media.mediaId` , `product_media` . `position` as `product_media.position` , `product_media.media` . `id` as `product_media.media.id` , `product_media.media` . `user_id` as `product_media.media.userId` , `product_media.media` . `media_folder_id` as `product_media.media.mediaFolderId` , `product_media.media` . `mime_type` as `product_media.media.mimeType` , `product_media.media` . `file_extension` as `product_media.media.fileExtension` , `product_media.media` . `uploaded_at` as `product_media.media.uploadedAt` , `product_media.media` . `file_name` as `product_media.media.fileName` , `product_media.media` . `file_size` as `product_media.media.fileSize` , `product_media.media` . `media_type` as `product_media.media.mediaTypeRaw` , `product_media.media` . `meta_data` as `product_media.media.metaData` , `product_media.media` . `config` as `product_media.media.config` , `product_media.media` . `path` as `product_media.media.path` , `product_media.media` . `private` as `product_media.media.private` , `product_media.media` . `thumbnails_ro` as `product_media.media.thumbnailsRo` , `product_media.media` . `created_at` as `product_media.media.createdAt` , `product_media.media` . `updated_at` as `product_media.media.updatedAt` , `product_media.media.translation.title` , `product_media.media.translation.title` as `product_media.media.title` , `product_media.media.translation.alt` , `product_media.media.translation.alt` as `product_media.media.alt` , `product_media.media.translation.customFields` , `product_media.media.translation.customFields` as `product_media.media.customFields` , `product_media` . `custom_fields` as `product_media.customFields` , `product_media` . `created_at` as `product_media.createdAt` , `product_media` . `updated_at` as `product_media.updatedAt` FROM `product_media` LEFT JOIN `media` `product_media.media` ON `product_media` . `media_id` = `product_media.media` . `id` LEFT JOIN (SELECT `product_media.media.translation` . `media_id` , `product_media.media.translation` . `alt` as `product_media.media.translation.alt` , `product_media.media.translation` . `title` as `product_media.media.translation.title` , `product_media.media.translation` . `custom_fields` as `product_media.media.translation.customFields` FROM `media_translation` `product_media.media.translation` WHERE `product_media.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product_media.media.media_translation` ON `product_media.media.media_translation` . `media_id` = `product_media.media` . `id` WHERE (`product_media` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_media` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 ))) ORDER BY `product_media` . `position` ASC ;
Copy
39
0.30 ms
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = ? ) AND ((`product_price` . `product_id` IN (? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_price` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
40
4.68 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
41
2.52 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
42
1.89 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
43
2.28 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
44
1.64 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
45
0.49 ms
SELECT `unit` . `id` as `unit.id` , `unit` . `created_at` as `unit.createdAt` , `unit` . `updated_at` as `unit.updatedAt` , `unit.translation.shortCode` , `unit.translation.shortCode` as `unit.shortCode` , `unit.translation.name` , `unit.translation.name` as `unit.name` , `unit.translation.customFields` , `unit.translation.customFields` as `unit.customFields` FROM `unit` LEFT JOIN (SELECT `unit.translation` . `unit_id` , `unit.translation` . `short_code` as `unit.translation.shortCode` , `unit.translation` . `name` as `unit.translation.name` , `unit.translation` . `custom_fields` as `unit.translation.customFields` FROM `unit_translation` `unit.translation` WHERE `unit.translation` . `language_id` = ? ) `unit.unit_translation` ON `unit.unit_translation` . `unit_id` = `unit` . `id`
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
]
SELECT `unit` . `id` as `unit.id` , `unit` . `created_at` as `unit.createdAt` , `unit` . `updated_at` as `unit.updatedAt` , `unit.translation.shortCode` , `unit.translation.shortCode` as `unit.shortCode` , `unit.translation.name` , `unit.translation.name` as `unit.name` , `unit.translation.customFields` , `unit.translation.customFields` as `unit.customFields` FROM `unit` LEFT JOIN (SELECT `unit.translation` . `unit_id` , `unit.translation` . `short_code` as `unit.translation.shortCode` , `unit.translation` . `name` as `unit.translation.name` , `unit.translation` . `custom_fields` as `unit.translation.customFields` FROM `unit_translation` `unit.translation` WHERE `unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `unit.unit_translation` ON `unit.unit_translation` . `unit_id` = `unit` . `id` ;
Copy
46
0.35 ms
SELECT `name` , `type` FROM `custom_field` WHERE `active` = 1
SELECT `name` , `type` FROM `custom_field` WHERE `active` = 1 ;
Copy
47
0.28 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
48
0.49 ms
SELECT `category` . `id` , `category` . `auto_increment` FROM `category` LEFT JOIN `main_category` `category.mainCategories` ON `category` . `id` = `category.mainCategories` . `category_id` AND `category` . version_id = `category.mainCategories` . category_version_id WHERE (`category` . `version_id` = ? ) AND (((`category.mainCategories` . `product_id` = ? AND `category.mainCategories` . `sales_channel_id` = ? AND (`category` . `path` LIKE ? OR `category` . `path` LIKE ? OR `category` . `path` LIKE ? )))) LIMIT 1
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
"%|e93cfe3d42a143099480e75aafe91170|% "
"%|bf8757f9d1114fbe8c2646b083d7ad9e|% "
"%|16ed238da7e54b11a5b72244b4ddd984|% "
]
SELECT `category` . `id` , `category` . `auto_increment` FROM `category` LEFT JOIN `main_category` `category.mainCategories` ON `category` . `id` = `category.mainCategories` . `category_id` AND `category` . version_id = `category.mainCategories` . category_version_id WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (((`category.mainCategories` . `product_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND `category.mainCategories` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND (`category` . `path` LIKE '%|e93cfe3d42a143099480e75aafe91170|%' OR `category` . `path` LIKE '%|bf8757f9d1114fbe8c2646b083d7ad9e|%' OR `category` . `path` LIKE '%|16ed238da7e54b11a5b72244b4ddd984|%' )))) LIMIT 1 ;
Copy
49
0.33 ms
SELECT `category` . `id` , `category` . `auto_increment` FROM `category` WHERE (`category` . `version_id` = ? ) AND ((`category` . `active` = ? AND (`category` . `path` LIKE ? OR `category` . `path` LIKE ? OR `category` . `path` LIKE ? ))) AND (`category` . `id` IN (? )) LIMIT 1
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
true
"%|e93cfe3d42a143099480e75aafe91170|% "
"%|bf8757f9d1114fbe8c2646b083d7ad9e|% "
"%|16ed238da7e54b11a5b72244b4ddd984|% "
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
]
SELECT `category` . `id` , `category` . `auto_increment` FROM `category` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `active` = 1 AND (`category` . `path` LIKE '%|e93cfe3d42a143099480e75aafe91170|%' OR `category` . `path` LIKE '%|bf8757f9d1114fbe8c2646b083d7ad9e|%' OR `category` . `path` LIKE '%|16ed238da7e54b11a5b72244b4ddd984|%' ))) AND (`category` . `id` IN (0x1CB6BE58E135471185463195DA1B8429 )) LIMIT 1 ;
Copy
50
0.98 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0x1CB6BE58E135471185463195DA1B8429 ));
Copy
51
0.74 ms
SELECT `cms_page` . `id` as `cms_page.id` , `cms_page` . `version_id` as `cms_page.versionId` , `cms_page` . `type` as `cms_page.type` , `cms_page` . `entity` as `cms_page.entity` , `cms_page` . `css_class` as `cms_page.cssClass` , `cms_page` . `config` as `cms_page.config` , `cms_page` . `preview_media_id` as `cms_page.previewMediaId` , `cms_page` . `locked` as `cms_page.locked` , `cms_page` . `created_at` as `cms_page.createdAt` , `cms_page` . `updated_at` as `cms_page.updatedAt` , `cms_page.translation.name` , `cms_page.translation.name` as `cms_page.name` , `cms_page.translation.customFields` , `cms_page.translation.customFields` as `cms_page.customFields` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation` . `cms_page_id` , `cms_page.translation` . `cms_page_version_id` , `cms_page.translation` . `name` as `cms_page.translation.name` , `cms_page.translation` . `custom_fields` as `cms_page.translation.customFields` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation` . `language_id` = ? ) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation` . `cms_page_id` = `cms_page` . `id` AND `cms_page.cms_page_translation` . `cms_page_version_id` = `cms_page` . `version_id` WHERE (`cms_page` . `version_id` = ? ) AND (`cms_page` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"zm%:g @7–oB°\x11 —\x04 Õ "
]
SELECT `cms_page` . `id` as `cms_page.id` , `cms_page` . `version_id` as `cms_page.versionId` , `cms_page` . `type` as `cms_page.type` , `cms_page` . `entity` as `cms_page.entity` , `cms_page` . `css_class` as `cms_page.cssClass` , `cms_page` . `config` as `cms_page.config` , `cms_page` . `preview_media_id` as `cms_page.previewMediaId` , `cms_page` . `locked` as `cms_page.locked` , `cms_page` . `created_at` as `cms_page.createdAt` , `cms_page` . `updated_at` as `cms_page.updatedAt` , `cms_page.translation.name` , `cms_page.translation.name` as `cms_page.name` , `cms_page.translation.customFields` , `cms_page.translation.customFields` as `cms_page.customFields` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation` . `cms_page_id` , `cms_page.translation` . `cms_page_version_id` , `cms_page.translation` . `name` as `cms_page.translation.name` , `cms_page.translation` . `custom_fields` as `cms_page.translation.customFields` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation` . `cms_page_id` = `cms_page` . `id` AND `cms_page.cms_page_translation` . `cms_page_version_id` = `cms_page` . `version_id` WHERE (`cms_page` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`cms_page` . `id` IN (0x7A6D253A67204037966F42B0119704D5 ));
Copy
52
0.82 ms
SELECT `cms_section` . `id` as `cms_section.id` , `cms_section` . `position` as `cms_section.position` , `cms_section` . `type` as `cms_section.type` , `cms_section` . `locked` as `cms_section.locked` , `cms_section` . `name` as `cms_section.name` , `cms_section` . `sizing_mode` as `cms_section.sizingMode` , `cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` , `cms_section` . `background_color` as `cms_section.backgroundColor` , `cms_section` . `background_media_id` as `cms_section.backgroundMediaId` , `cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` , `cms_section` . `css_class` as `cms_section.cssClass` , `cms_section` . `cms_page_id` as `cms_section.pageId` , `cms_section` . `visibility` as `cms_section.visibility` , `cms_section` . `custom_fields` as `cms_section.customFields` , `cms_section` . `version_id` as `cms_section.versionId` , `cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` , `cms_section` . `created_at` as `cms_section.createdAt` , `cms_section` . `updated_at` as `cms_section.updatedAt` , `cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` , `cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` , `cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` , `cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` , `cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` , `cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` , `cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` , `cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` , `cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` , `cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` , `cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` , `cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` , `cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` , `cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` , `cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` , `cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` , `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` , `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` , `cms_section.backgroundMedia.translation.customFields` , `cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation` . `media_id` , `cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation` . `language_id` = ? ) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id` WHERE (`cms_section` . `version_id` = ? ) AND ((`cms_section` . `cms_page_id` IN (? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"zm%:g @7–oB°\x11 —\x04 Õ "
]
SELECT
`cms_section` . `id` as `cms_section.id` ,
`cms_section` . `position` as `cms_section.position` ,
`cms_section` . `type` as `cms_section.type` ,
`cms_section` . `locked` as `cms_section.locked` ,
`cms_section` . `name` as `cms_section.name` ,
`cms_section` . `sizing_mode` as `cms_section.sizingMode` ,
`cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` ,
`cms_section` . `background_color` as `cms_section.backgroundColor` ,
`cms_section` . `background_media_id` as `cms_section.backgroundMediaId` ,
`cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` ,
`cms_section` . `css_class` as `cms_section.cssClass` ,
`cms_section` . `cms_page_id` as `cms_section.pageId` ,
`cms_section` . `visibility` as `cms_section.visibility` ,
`cms_section` . `custom_fields` as `cms_section.customFields` ,
`cms_section` . `version_id` as `cms_section.versionId` ,
`cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` ,
`cms_section` . `created_at` as `cms_section.createdAt` ,
`cms_section` . `updated_at` as `cms_section.updatedAt` ,
`cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` ,
`cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` ,
`cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` ,
`cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` ,
`cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` ,
`cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` ,
`cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` ,
`cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` ,
`cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` ,
`cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` ,
`cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` ,
`cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` ,
`cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` ,
`cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` ,
`cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` ,
`cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` ,
`cms_section.backgroundMedia.translation.title` ,
`cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` ,
`cms_section.backgroundMedia.translation.alt` ,
`cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` ,
`cms_section.backgroundMedia.translation.customFields` ,
`cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields`
FROM
`cms_section`
LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id`
LEFT JOIN (
SELECT
`cms_section.backgroundMedia.translation` . `media_id` ,
`cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` ,
`cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` ,
`cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields`
FROM
`media_translation` `cms_section.backgroundMedia.translation`
WHERE
`cms_section.backgroundMedia.translation` . `language_id` = ?
) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id`
WHERE
(`cms_section` . `version_id` = ? )
AND (
(
`cms_section` . `cms_page_id` IN (? )
)
)
Copy
SELECT `cms_section` . `id` as `cms_section.id` , `cms_section` . `position` as `cms_section.position` , `cms_section` . `type` as `cms_section.type` , `cms_section` . `locked` as `cms_section.locked` , `cms_section` . `name` as `cms_section.name` , `cms_section` . `sizing_mode` as `cms_section.sizingMode` , `cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` , `cms_section` . `background_color` as `cms_section.backgroundColor` , `cms_section` . `background_media_id` as `cms_section.backgroundMediaId` , `cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` , `cms_section` . `css_class` as `cms_section.cssClass` , `cms_section` . `cms_page_id` as `cms_section.pageId` , `cms_section` . `visibility` as `cms_section.visibility` , `cms_section` . `custom_fields` as `cms_section.customFields` , `cms_section` . `version_id` as `cms_section.versionId` , `cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` , `cms_section` . `created_at` as `cms_section.createdAt` , `cms_section` . `updated_at` as `cms_section.updatedAt` , `cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` , `cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` , `cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` , `cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` , `cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` , `cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` , `cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` , `cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` , `cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` , `cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` , `cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` , `cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` , `cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` , `cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` , `cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` , `cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` , `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` , `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` , `cms_section.backgroundMedia.translation.customFields` , `cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation` . `media_id` , `cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id` WHERE (`cms_section` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_section` . `cms_page_id` IN (0x7A6D253A67204037966F42B0119704D5 )));
Copy
53
0.76 ms
SELECT `cms_block` . `id` as `cms_block.id` , `cms_block` . `position` as `cms_block.position` , `cms_block` . `type` as `cms_block.type` , `cms_block` . `locked` as `cms_block.locked` , `cms_block` . `name` as `cms_block.name` , `cms_block` . `section_position` as `cms_block.sectionPosition` , `cms_block` . `margin_top` as `cms_block.marginTop` , `cms_block` . `margin_bottom` as `cms_block.marginBottom` , `cms_block` . `margin_left` as `cms_block.marginLeft` , `cms_block` . `margin_right` as `cms_block.marginRight` , `cms_block` . `background_color` as `cms_block.backgroundColor` , `cms_block` . `background_media_id` as `cms_block.backgroundMediaId` , `cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` , `cms_block` . `css_class` as `cms_block.cssClass` , `cms_block` . `visibility` as `cms_block.visibility` , `cms_block` . `cms_section_id` as `cms_block.sectionId` , `cms_block` . `custom_fields` as `cms_block.customFields` , `cms_block` . `version_id` as `cms_block.versionId` , `cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` , `cms_block` . `created_at` as `cms_block.createdAt` , `cms_block` . `updated_at` as `cms_block.updatedAt` , `cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` , `cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` , `cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` , `cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` , `cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` , `cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` , `cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` , `cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` , `cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` , `cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` , `cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` , `cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` , `cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` , `cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` , `cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` , `cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` , `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` , `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` , `cms_block.backgroundMedia.translation.customFields` , `cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation` . `media_id` , `cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation` . `language_id` = ? ) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id` WHERE (`cms_block` . `version_id` = ? ) AND ((`cms_block` . `cms_section_id` IN (? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"ëwK\x03 ãmA\x06 ÅÈ\x01 -Ýi┌Û "
]
SELECT
`cms_block` . `id` as `cms_block.id` ,
`cms_block` . `position` as `cms_block.position` ,
`cms_block` . `type` as `cms_block.type` ,
`cms_block` . `locked` as `cms_block.locked` ,
`cms_block` . `name` as `cms_block.name` ,
`cms_block` . `section_position` as `cms_block.sectionPosition` ,
`cms_block` . `margin_top` as `cms_block.marginTop` ,
`cms_block` . `margin_bottom` as `cms_block.marginBottom` ,
`cms_block` . `margin_left` as `cms_block.marginLeft` ,
`cms_block` . `margin_right` as `cms_block.marginRight` ,
`cms_block` . `background_color` as `cms_block.backgroundColor` ,
`cms_block` . `background_media_id` as `cms_block.backgroundMediaId` ,
`cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` ,
`cms_block` . `css_class` as `cms_block.cssClass` ,
`cms_block` . `visibility` as `cms_block.visibility` ,
`cms_block` . `cms_section_id` as `cms_block.sectionId` ,
`cms_block` . `custom_fields` as `cms_block.customFields` ,
`cms_block` . `version_id` as `cms_block.versionId` ,
`cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` ,
`cms_block` . `created_at` as `cms_block.createdAt` ,
`cms_block` . `updated_at` as `cms_block.updatedAt` ,
`cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` ,
`cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` ,
`cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` ,
`cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` ,
`cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` ,
`cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` ,
`cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` ,
`cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` ,
`cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` ,
`cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` ,
`cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` ,
`cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` ,
`cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` ,
`cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` ,
`cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` ,
`cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` ,
`cms_block.backgroundMedia.translation.title` ,
`cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` ,
`cms_block.backgroundMedia.translation.alt` ,
`cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` ,
`cms_block.backgroundMedia.translation.customFields` ,
`cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields`
FROM
`cms_block`
LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id`
LEFT JOIN (
SELECT
`cms_block.backgroundMedia.translation` . `media_id` ,
`cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` ,
`cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` ,
`cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields`
FROM
`media_translation` `cms_block.backgroundMedia.translation`
WHERE
`cms_block.backgroundMedia.translation` . `language_id` = ?
) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id`
WHERE
(`cms_block` . `version_id` = ? )
AND (
(
`cms_block` . `cms_section_id` IN (? )
)
)
Copy
SELECT `cms_block` . `id` as `cms_block.id` , `cms_block` . `position` as `cms_block.position` , `cms_block` . `type` as `cms_block.type` , `cms_block` . `locked` as `cms_block.locked` , `cms_block` . `name` as `cms_block.name` , `cms_block` . `section_position` as `cms_block.sectionPosition` , `cms_block` . `margin_top` as `cms_block.marginTop` , `cms_block` . `margin_bottom` as `cms_block.marginBottom` , `cms_block` . `margin_left` as `cms_block.marginLeft` , `cms_block` . `margin_right` as `cms_block.marginRight` , `cms_block` . `background_color` as `cms_block.backgroundColor` , `cms_block` . `background_media_id` as `cms_block.backgroundMediaId` , `cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` , `cms_block` . `css_class` as `cms_block.cssClass` , `cms_block` . `visibility` as `cms_block.visibility` , `cms_block` . `cms_section_id` as `cms_block.sectionId` , `cms_block` . `custom_fields` as `cms_block.customFields` , `cms_block` . `version_id` as `cms_block.versionId` , `cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` , `cms_block` . `created_at` as `cms_block.createdAt` , `cms_block` . `updated_at` as `cms_block.updatedAt` , `cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` , `cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` , `cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` , `cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` , `cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` , `cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` , `cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` , `cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` , `cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` , `cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` , `cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` , `cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` , `cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` , `cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` , `cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` , `cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` , `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` , `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` , `cms_block.backgroundMedia.translation.customFields` , `cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation` . `media_id` , `cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id` WHERE (`cms_block` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_block` . `cms_section_id` IN (0x89774B03C66D41068FD4012DED69DAEA )));
Copy
54
0.72 ms
SELECT `cms_slot` . `id` as `cms_slot.id` , `cms_slot` . `version_id` as `cms_slot.versionId` , `cms_slot` . `type` as `cms_slot.type` , `cms_slot` . `slot` as `cms_slot.slot` , `cms_slot` . `locked` as `cms_slot.locked` , `cms_slot` . `cms_block_id` as `cms_slot.blockId` , `cms_slot` . `cms_block_version_id` as `cms_slot.cmsBlockVersionId` , `cms_slot` . `created_at` as `cms_slot.createdAt` , `cms_slot` . `updated_at` as `cms_slot.updatedAt` , `cms_slot.translation.config` , `cms_slot.translation.config` as `cms_slot.config` , `cms_slot.translation.customFields` , `cms_slot.translation.customFields` as `cms_slot.customFields` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation` . `cms_slot_id` , `cms_slot.translation` . `cms_slot_version_id` , `cms_slot.translation` . `config` as `cms_slot.translation.config` , `cms_slot.translation` . `custom_fields` as `cms_slot.translation.customFields` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation` . `language_id` = ? ) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation` . `cms_slot_id` = `cms_slot` . `id` AND `cms_slot.cms_slot_translation` . `cms_slot_version_id` = `cms_slot` . `version_id` WHERE (`cms_slot` . `version_id` = ? ) AND ((`cms_slot` . `cms_block_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"l2ïzJ3J\x04 ŒöwlE}’\x15 "
b"²â1Áô\x14 JÙœwnBN|·˜ "
b"¿3ñ6òÎOKœ(ôx›#~K "
b"ÌþNƒ\x16 +DͨÍ\x1A\x1C Án4 "
]
SELECT `cms_slot` . `id` as `cms_slot.id` , `cms_slot` . `version_id` as `cms_slot.versionId` , `cms_slot` . `type` as `cms_slot.type` , `cms_slot` . `slot` as `cms_slot.slot` , `cms_slot` . `locked` as `cms_slot.locked` , `cms_slot` . `cms_block_id` as `cms_slot.blockId` , `cms_slot` . `cms_block_version_id` as `cms_slot.cmsBlockVersionId` , `cms_slot` . `created_at` as `cms_slot.createdAt` , `cms_slot` . `updated_at` as `cms_slot.updatedAt` , `cms_slot.translation.config` , `cms_slot.translation.config` as `cms_slot.config` , `cms_slot.translation.customFields` , `cms_slot.translation.customFields` as `cms_slot.customFields` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation` . `cms_slot_id` , `cms_slot.translation` . `cms_slot_version_id` , `cms_slot.translation` . `config` as `cms_slot.translation.config` , `cms_slot.translation` . `custom_fields` as `cms_slot.translation.customFields` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation` . `cms_slot_id` = `cms_slot` . `id` AND `cms_slot.cms_slot_translation` . `cms_slot_version_id` = `cms_slot` . `version_id` WHERE (`cms_slot` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_slot` . `cms_block_id` IN (0x6C32EF7A4A334A048CF6776C457D9215 , 0xB2E231C1F4144AD99C776E424E7CB798 , 0xBF33F136F2CE4F4B9C28F4789B237E4B , 0xCCFE4E83162B44CDA8CD1A1CC16EAD34 )));
Copy
55
0.50 ms
SELECT `cms_page` . `id` as `cms_page.id` , `cms_page` . `version_id` as `cms_page.versionId` , `cms_page` . `type` as `cms_page.type` , `cms_page` . `entity` as `cms_page.entity` , `cms_page` . `css_class` as `cms_page.cssClass` , `cms_page` . `config` as `cms_page.config` , `cms_page` . `preview_media_id` as `cms_page.previewMediaId` , `cms_page` . `locked` as `cms_page.locked` , `cms_page` . `created_at` as `cms_page.createdAt` , `cms_page` . `updated_at` as `cms_page.updatedAt` , `cms_page.translation.name` , `cms_page.translation.name` as `cms_page.name` , `cms_page.translation.customFields` , `cms_page.translation.customFields` as `cms_page.customFields` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation` . `cms_page_id` , `cms_page.translation` . `cms_page_version_id` , `cms_page.translation` . `name` as `cms_page.translation.name` , `cms_page.translation` . `custom_fields` as `cms_page.translation.customFields` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation` . `language_id` = ? ) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation` . `cms_page_id` = `cms_page` . `id` AND `cms_page.cms_page_translation` . `cms_page_version_id` = `cms_page` . `version_id` WHERE (`cms_page` . `version_id` = ? ) AND (`cms_page` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"zm%:g @7–oB°\x11 —\x04 Õ "
]
SELECT `cms_page` . `id` as `cms_page.id` , `cms_page` . `version_id` as `cms_page.versionId` , `cms_page` . `type` as `cms_page.type` , `cms_page` . `entity` as `cms_page.entity` , `cms_page` . `css_class` as `cms_page.cssClass` , `cms_page` . `config` as `cms_page.config` , `cms_page` . `preview_media_id` as `cms_page.previewMediaId` , `cms_page` . `locked` as `cms_page.locked` , `cms_page` . `created_at` as `cms_page.createdAt` , `cms_page` . `updated_at` as `cms_page.updatedAt` , `cms_page.translation.name` , `cms_page.translation.name` as `cms_page.name` , `cms_page.translation.customFields` , `cms_page.translation.customFields` as `cms_page.customFields` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation` . `cms_page_id` , `cms_page.translation` . `cms_page_version_id` , `cms_page.translation` . `name` as `cms_page.translation.name` , `cms_page.translation` . `custom_fields` as `cms_page.translation.customFields` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation` . `cms_page_id` = `cms_page` . `id` AND `cms_page.cms_page_translation` . `cms_page_version_id` = `cms_page` . `version_id` WHERE (`cms_page` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`cms_page` . `id` IN (0x7A6D253A67204037966F42B0119704D5 ));
Copy
56
0.78 ms
SELECT `cms_section` . `id` as `cms_section.id` , `cms_section` . `position` as `cms_section.position` , `cms_section` . `type` as `cms_section.type` , `cms_section` . `locked` as `cms_section.locked` , `cms_section` . `name` as `cms_section.name` , `cms_section` . `sizing_mode` as `cms_section.sizingMode` , `cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` , `cms_section` . `background_color` as `cms_section.backgroundColor` , `cms_section` . `background_media_id` as `cms_section.backgroundMediaId` , `cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` , `cms_section` . `css_class` as `cms_section.cssClass` , `cms_section` . `cms_page_id` as `cms_section.pageId` , `cms_section` . `visibility` as `cms_section.visibility` , `cms_section` . `custom_fields` as `cms_section.customFields` , `cms_section` . `version_id` as `cms_section.versionId` , `cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` , `cms_section` . `created_at` as `cms_section.createdAt` , `cms_section` . `updated_at` as `cms_section.updatedAt` , `cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` , `cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` , `cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` , `cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` , `cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` , `cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` , `cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` , `cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` , `cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` , `cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` , `cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` , `cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` , `cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` , `cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` , `cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` , `cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` , `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` , `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` , `cms_section.backgroundMedia.translation.customFields` , `cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation` . `media_id` , `cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation` . `language_id` = ? ) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id` WHERE (`cms_section` . `version_id` = ? ) AND ((`cms_section` . `cms_page_id` IN (? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"zm%:g @7–oB°\x11 —\x04 Õ "
]
SELECT
`cms_section` . `id` as `cms_section.id` ,
`cms_section` . `position` as `cms_section.position` ,
`cms_section` . `type` as `cms_section.type` ,
`cms_section` . `locked` as `cms_section.locked` ,
`cms_section` . `name` as `cms_section.name` ,
`cms_section` . `sizing_mode` as `cms_section.sizingMode` ,
`cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` ,
`cms_section` . `background_color` as `cms_section.backgroundColor` ,
`cms_section` . `background_media_id` as `cms_section.backgroundMediaId` ,
`cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` ,
`cms_section` . `css_class` as `cms_section.cssClass` ,
`cms_section` . `cms_page_id` as `cms_section.pageId` ,
`cms_section` . `visibility` as `cms_section.visibility` ,
`cms_section` . `custom_fields` as `cms_section.customFields` ,
`cms_section` . `version_id` as `cms_section.versionId` ,
`cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` ,
`cms_section` . `created_at` as `cms_section.createdAt` ,
`cms_section` . `updated_at` as `cms_section.updatedAt` ,
`cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` ,
`cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` ,
`cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` ,
`cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` ,
`cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` ,
`cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` ,
`cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` ,
`cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` ,
`cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` ,
`cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` ,
`cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` ,
`cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` ,
`cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` ,
`cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` ,
`cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` ,
`cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` ,
`cms_section.backgroundMedia.translation.title` ,
`cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` ,
`cms_section.backgroundMedia.translation.alt` ,
`cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` ,
`cms_section.backgroundMedia.translation.customFields` ,
`cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields`
FROM
`cms_section`
LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id`
LEFT JOIN (
SELECT
`cms_section.backgroundMedia.translation` . `media_id` ,
`cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` ,
`cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` ,
`cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields`
FROM
`media_translation` `cms_section.backgroundMedia.translation`
WHERE
`cms_section.backgroundMedia.translation` . `language_id` = ?
) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id`
WHERE
(`cms_section` . `version_id` = ? )
AND (
(
`cms_section` . `cms_page_id` IN (? )
)
)
Copy
SELECT `cms_section` . `id` as `cms_section.id` , `cms_section` . `position` as `cms_section.position` , `cms_section` . `type` as `cms_section.type` , `cms_section` . `locked` as `cms_section.locked` , `cms_section` . `name` as `cms_section.name` , `cms_section` . `sizing_mode` as `cms_section.sizingMode` , `cms_section` . `mobile_behavior` as `cms_section.mobileBehavior` , `cms_section` . `background_color` as `cms_section.backgroundColor` , `cms_section` . `background_media_id` as `cms_section.backgroundMediaId` , `cms_section` . `background_media_mode` as `cms_section.backgroundMediaMode` , `cms_section` . `css_class` as `cms_section.cssClass` , `cms_section` . `cms_page_id` as `cms_section.pageId` , `cms_section` . `visibility` as `cms_section.visibility` , `cms_section` . `custom_fields` as `cms_section.customFields` , `cms_section` . `version_id` as `cms_section.versionId` , `cms_section` . `cms_page_version_id` as `cms_section.cmsPageVersionId` , `cms_section` . `created_at` as `cms_section.createdAt` , `cms_section` . `updated_at` as `cms_section.updatedAt` , `cms_section.backgroundMedia` . `id` as `cms_section.backgroundMedia.id` , `cms_section.backgroundMedia` . `user_id` as `cms_section.backgroundMedia.userId` , `cms_section.backgroundMedia` . `media_folder_id` as `cms_section.backgroundMedia.mediaFolderId` , `cms_section.backgroundMedia` . `mime_type` as `cms_section.backgroundMedia.mimeType` , `cms_section.backgroundMedia` . `file_extension` as `cms_section.backgroundMedia.fileExtension` , `cms_section.backgroundMedia` . `uploaded_at` as `cms_section.backgroundMedia.uploadedAt` , `cms_section.backgroundMedia` . `file_name` as `cms_section.backgroundMedia.fileName` , `cms_section.backgroundMedia` . `file_size` as `cms_section.backgroundMedia.fileSize` , `cms_section.backgroundMedia` . `media_type` as `cms_section.backgroundMedia.mediaTypeRaw` , `cms_section.backgroundMedia` . `meta_data` as `cms_section.backgroundMedia.metaData` , `cms_section.backgroundMedia` . `config` as `cms_section.backgroundMedia.config` , `cms_section.backgroundMedia` . `path` as `cms_section.backgroundMedia.path` , `cms_section.backgroundMedia` . `private` as `cms_section.backgroundMedia.private` , `cms_section.backgroundMedia` . `thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo` , `cms_section.backgroundMedia` . `created_at` as `cms_section.backgroundMedia.createdAt` , `cms_section.backgroundMedia` . `updated_at` as `cms_section.backgroundMedia.updatedAt` , `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation.title` as `cms_section.backgroundMedia.title` , `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation.alt` as `cms_section.backgroundMedia.alt` , `cms_section.backgroundMedia.translation.customFields` , `cms_section.backgroundMedia.translation.customFields` as `cms_section.backgroundMedia.customFields` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section` . `background_media_id` = `cms_section.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation` . `media_id` , `cms_section.backgroundMedia.translation` . `alt` as `cms_section.backgroundMedia.translation.alt` , `cms_section.backgroundMedia.translation` . `title` as `cms_section.backgroundMedia.translation.title` , `cms_section.backgroundMedia.translation` . `custom_fields` as `cms_section.backgroundMedia.translation.customFields` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation` . `media_id` = `cms_section.backgroundMedia` . `id` WHERE (`cms_section` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_section` . `cms_page_id` IN (0x7A6D253A67204037966F42B0119704D5 )));
Copy
57
0.51 ms
SELECT `cms_block` . `id` as `cms_block.id` , `cms_block` . `position` as `cms_block.position` , `cms_block` . `type` as `cms_block.type` , `cms_block` . `locked` as `cms_block.locked` , `cms_block` . `name` as `cms_block.name` , `cms_block` . `section_position` as `cms_block.sectionPosition` , `cms_block` . `margin_top` as `cms_block.marginTop` , `cms_block` . `margin_bottom` as `cms_block.marginBottom` , `cms_block` . `margin_left` as `cms_block.marginLeft` , `cms_block` . `margin_right` as `cms_block.marginRight` , `cms_block` . `background_color` as `cms_block.backgroundColor` , `cms_block` . `background_media_id` as `cms_block.backgroundMediaId` , `cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` , `cms_block` . `css_class` as `cms_block.cssClass` , `cms_block` . `visibility` as `cms_block.visibility` , `cms_block` . `cms_section_id` as `cms_block.sectionId` , `cms_block` . `custom_fields` as `cms_block.customFields` , `cms_block` . `version_id` as `cms_block.versionId` , `cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` , `cms_block` . `created_at` as `cms_block.createdAt` , `cms_block` . `updated_at` as `cms_block.updatedAt` , `cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` , `cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` , `cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` , `cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` , `cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` , `cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` , `cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` , `cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` , `cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` , `cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` , `cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` , `cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` , `cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` , `cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` , `cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` , `cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` , `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` , `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` , `cms_block.backgroundMedia.translation.customFields` , `cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation` . `media_id` , `cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation` . `language_id` = ? ) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id` WHERE (`cms_block` . `version_id` = ? ) AND ((`cms_block` . `cms_section_id` IN (? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"ëwK\x03 ãmA\x06 ÅÈ\x01 -Ýi┌Û "
]
SELECT
`cms_block` . `id` as `cms_block.id` ,
`cms_block` . `position` as `cms_block.position` ,
`cms_block` . `type` as `cms_block.type` ,
`cms_block` . `locked` as `cms_block.locked` ,
`cms_block` . `name` as `cms_block.name` ,
`cms_block` . `section_position` as `cms_block.sectionPosition` ,
`cms_block` . `margin_top` as `cms_block.marginTop` ,
`cms_block` . `margin_bottom` as `cms_block.marginBottom` ,
`cms_block` . `margin_left` as `cms_block.marginLeft` ,
`cms_block` . `margin_right` as `cms_block.marginRight` ,
`cms_block` . `background_color` as `cms_block.backgroundColor` ,
`cms_block` . `background_media_id` as `cms_block.backgroundMediaId` ,
`cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` ,
`cms_block` . `css_class` as `cms_block.cssClass` ,
`cms_block` . `visibility` as `cms_block.visibility` ,
`cms_block` . `cms_section_id` as `cms_block.sectionId` ,
`cms_block` . `custom_fields` as `cms_block.customFields` ,
`cms_block` . `version_id` as `cms_block.versionId` ,
`cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` ,
`cms_block` . `created_at` as `cms_block.createdAt` ,
`cms_block` . `updated_at` as `cms_block.updatedAt` ,
`cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` ,
`cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` ,
`cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` ,
`cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` ,
`cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` ,
`cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` ,
`cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` ,
`cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` ,
`cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` ,
`cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` ,
`cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` ,
`cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` ,
`cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` ,
`cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` ,
`cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` ,
`cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` ,
`cms_block.backgroundMedia.translation.title` ,
`cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` ,
`cms_block.backgroundMedia.translation.alt` ,
`cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` ,
`cms_block.backgroundMedia.translation.customFields` ,
`cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields`
FROM
`cms_block`
LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id`
LEFT JOIN (
SELECT
`cms_block.backgroundMedia.translation` . `media_id` ,
`cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` ,
`cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` ,
`cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields`
FROM
`media_translation` `cms_block.backgroundMedia.translation`
WHERE
`cms_block.backgroundMedia.translation` . `language_id` = ?
) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id`
WHERE
(`cms_block` . `version_id` = ? )
AND (
(
`cms_block` . `cms_section_id` IN (? )
)
)
Copy
SELECT `cms_block` . `id` as `cms_block.id` , `cms_block` . `position` as `cms_block.position` , `cms_block` . `type` as `cms_block.type` , `cms_block` . `locked` as `cms_block.locked` , `cms_block` . `name` as `cms_block.name` , `cms_block` . `section_position` as `cms_block.sectionPosition` , `cms_block` . `margin_top` as `cms_block.marginTop` , `cms_block` . `margin_bottom` as `cms_block.marginBottom` , `cms_block` . `margin_left` as `cms_block.marginLeft` , `cms_block` . `margin_right` as `cms_block.marginRight` , `cms_block` . `background_color` as `cms_block.backgroundColor` , `cms_block` . `background_media_id` as `cms_block.backgroundMediaId` , `cms_block` . `background_media_mode` as `cms_block.backgroundMediaMode` , `cms_block` . `css_class` as `cms_block.cssClass` , `cms_block` . `visibility` as `cms_block.visibility` , `cms_block` . `cms_section_id` as `cms_block.sectionId` , `cms_block` . `custom_fields` as `cms_block.customFields` , `cms_block` . `version_id` as `cms_block.versionId` , `cms_block` . `cms_section_version_id` as `cms_block.cmsSectionVersionId` , `cms_block` . `created_at` as `cms_block.createdAt` , `cms_block` . `updated_at` as `cms_block.updatedAt` , `cms_block.backgroundMedia` . `id` as `cms_block.backgroundMedia.id` , `cms_block.backgroundMedia` . `user_id` as `cms_block.backgroundMedia.userId` , `cms_block.backgroundMedia` . `media_folder_id` as `cms_block.backgroundMedia.mediaFolderId` , `cms_block.backgroundMedia` . `mime_type` as `cms_block.backgroundMedia.mimeType` , `cms_block.backgroundMedia` . `file_extension` as `cms_block.backgroundMedia.fileExtension` , `cms_block.backgroundMedia` . `uploaded_at` as `cms_block.backgroundMedia.uploadedAt` , `cms_block.backgroundMedia` . `file_name` as `cms_block.backgroundMedia.fileName` , `cms_block.backgroundMedia` . `file_size` as `cms_block.backgroundMedia.fileSize` , `cms_block.backgroundMedia` . `media_type` as `cms_block.backgroundMedia.mediaTypeRaw` , `cms_block.backgroundMedia` . `meta_data` as `cms_block.backgroundMedia.metaData` , `cms_block.backgroundMedia` . `config` as `cms_block.backgroundMedia.config` , `cms_block.backgroundMedia` . `path` as `cms_block.backgroundMedia.path` , `cms_block.backgroundMedia` . `private` as `cms_block.backgroundMedia.private` , `cms_block.backgroundMedia` . `thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo` , `cms_block.backgroundMedia` . `created_at` as `cms_block.backgroundMedia.createdAt` , `cms_block.backgroundMedia` . `updated_at` as `cms_block.backgroundMedia.updatedAt` , `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation.title` as `cms_block.backgroundMedia.title` , `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation.alt` as `cms_block.backgroundMedia.alt` , `cms_block.backgroundMedia.translation.customFields` , `cms_block.backgroundMedia.translation.customFields` as `cms_block.backgroundMedia.customFields` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block` . `background_media_id` = `cms_block.backgroundMedia` . `id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation` . `media_id` , `cms_block.backgroundMedia.translation` . `alt` as `cms_block.backgroundMedia.translation.alt` , `cms_block.backgroundMedia.translation` . `title` as `cms_block.backgroundMedia.translation.title` , `cms_block.backgroundMedia.translation` . `custom_fields` as `cms_block.backgroundMedia.translation.customFields` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation` . `media_id` = `cms_block.backgroundMedia` . `id` WHERE (`cms_block` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_block` . `cms_section_id` IN (0x89774B03C66D41068FD4012DED69DAEA )));
Copy
58
0.53 ms
SELECT `cms_slot` . `id` as `cms_slot.id` , `cms_slot` . `version_id` as `cms_slot.versionId` , `cms_slot` . `type` as `cms_slot.type` , `cms_slot` . `slot` as `cms_slot.slot` , `cms_slot` . `locked` as `cms_slot.locked` , `cms_slot` . `cms_block_id` as `cms_slot.blockId` , `cms_slot` . `cms_block_version_id` as `cms_slot.cmsBlockVersionId` , `cms_slot` . `created_at` as `cms_slot.createdAt` , `cms_slot` . `updated_at` as `cms_slot.updatedAt` , `cms_slot.translation.config` , `cms_slot.translation.config` as `cms_slot.config` , `cms_slot.translation.customFields` , `cms_slot.translation.customFields` as `cms_slot.customFields` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation` . `cms_slot_id` , `cms_slot.translation` . `cms_slot_version_id` , `cms_slot.translation` . `config` as `cms_slot.translation.config` , `cms_slot.translation` . `custom_fields` as `cms_slot.translation.customFields` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation` . `language_id` = ? ) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation` . `cms_slot_id` = `cms_slot` . `id` AND `cms_slot.cms_slot_translation` . `cms_slot_version_id` = `cms_slot` . `version_id` WHERE (`cms_slot` . `version_id` = ? ) AND ((`cms_slot` . `cms_block_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"l2ïzJ3J\x04 ŒöwlE}’\x15 "
b"²â1Áô\x14 JÙœwnBN|·˜ "
b"¿3ñ6òÎOKœ(ôx›#~K "
b"ÌþNƒ\x16 +DͨÍ\x1A\x1C Án4 "
]
SELECT `cms_slot` . `id` as `cms_slot.id` , `cms_slot` . `version_id` as `cms_slot.versionId` , `cms_slot` . `type` as `cms_slot.type` , `cms_slot` . `slot` as `cms_slot.slot` , `cms_slot` . `locked` as `cms_slot.locked` , `cms_slot` . `cms_block_id` as `cms_slot.blockId` , `cms_slot` . `cms_block_version_id` as `cms_slot.cmsBlockVersionId` , `cms_slot` . `created_at` as `cms_slot.createdAt` , `cms_slot` . `updated_at` as `cms_slot.updatedAt` , `cms_slot.translation.config` , `cms_slot.translation.config` as `cms_slot.config` , `cms_slot.translation.customFields` , `cms_slot.translation.customFields` as `cms_slot.customFields` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation` . `cms_slot_id` , `cms_slot.translation` . `cms_slot_version_id` , `cms_slot.translation` . `config` as `cms_slot.translation.config` , `cms_slot.translation` . `custom_fields` as `cms_slot.translation.customFields` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation` . `cms_slot_id` = `cms_slot` . `id` AND `cms_slot.cms_slot_translation` . `cms_slot_version_id` = `cms_slot` . `version_id` WHERE (`cms_slot` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`cms_slot` . `cms_block_id` IN (0x6C32EF7A4A334A048CF6776C457D9215 , 0xB2E231C1F4144AD99C776E424E7CB798 , 0xBF33F136F2CE4F4B9C28F4789B237E4B , 0xCCFE4E83162B44CDA8CD1A1CC16EAD34 )));
Copy
59
0.54 ms
SELECT COUNT (DISTINCT `product_review` . `id` ) as `review-count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = ? ) AND (`product_review.product` . `id` = ? OR `product_review.product` . `parent_id` = ? )))
Parameters :
[
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT COUNT (DISTINCT `product_review` . `id` ) as `review-count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = 1 ) AND (`product_review.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 OR `product_review.product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
60
0.57 ms
SELECT `product_review` . `points` as `ratingMatrix.key` , COUNT (`product_review` . `id` ) as `ratingMatrix.count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE ((((`product_review` . `status` = ? ) AND (`product_review.product` . `id` = ? OR `product_review.product` . `parent_id` = ? )))) AND (((`product_review` . `status` = ? ))) GROUP BY `product_review` . `points`
Parameters :
[
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
true
]
SELECT `product_review` . `points` as `ratingMatrix.key` , COUNT (`product_review` . `id` ) as `ratingMatrix.count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE ((((`product_review` . `status` = 1 ) AND (`product_review.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 OR `product_review.product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 )))) AND (((`product_review` . `status` = 1 ))) GROUP BY `product_review` . `points` ;
Copy
61
0.56 ms
SELECT LOWER (HEX (`product_review` . `language_id` )) as `languageMatrix.key` , COUNT (`product_review` . `id` ) as `languageMatrix.count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE ((((`product_review` . `status` = ? ) AND (`product_review.product` . `id` = ? OR `product_review.product` . `parent_id` = ? )))) AND ((`product_review` . `language_id` = ? AND (`product_review` . `status` = ? ))) GROUP BY `product_review` . `language_id`
Parameters :
[
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"/»_ââšMpªXTÎ|ãâ\v "
true
]
SELECT LOWER (HEX (`product_review` . `language_id` )) as `languageMatrix.key` , COUNT (`product_review` . `id` ) as `languageMatrix.count` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE ((((`product_review` . `status` = 1 ) AND (`product_review.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 OR `product_review.product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 )))) AND ((`product_review` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B AND (`product_review` . `status` = 1 ))) GROUP BY `product_review` . `language_id` ;
Copy
62
0.33 ms
SELECT `product_review` . `id` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = ? ) AND (`product_review.product` . `id` = ? OR `product_review.product` . `parent_id` = ? ))) ORDER BY `product_review` . `created_at` DESC LIMIT 10
Parameters :
[
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_review` . `id` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = 1 ) AND (`product_review.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 OR `product_review.product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 ))) ORDER BY `product_review` . `created_at` DESC LIMIT 10 ;
Copy
63
0.30 ms
SELECT COUNT (* ) FROM (
SELECT `product_review` . `id` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = ? ) AND (`product_review.product` . `id` = ? OR `product_review.product` . `parent_id` = ? )))) total
Parameters :
[
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT COUNT (* ) FROM (
SELECT `product_review` . `id` FROM `product_review` LEFT JOIN `product` `product_review.product` ON `product_review` . `product_id` = `product_review.product` . `id` AND `product_review` . `product_version_id` = `product_review.product` . `version_id` LEFT JOIN `product` `product_review.product.parent` ON `product_review.product` . `parent_id` = `product_review.product.parent` . `id` AND `product_review.product` . `parent_version_id` = `product_review.product.parent` . `version_id` WHERE (((`product_review` . `status` = 1 ) AND (`product_review.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 OR `product_review.product` . `parent_id` = 0x018F5247E3737D4A9406FE0BE274B735 )))) total ;
Copy
64
0.61 ms
SELECT `product_cross_selling` . `id` FROM `product_cross_selling` LEFT JOIN `product` `product_cross_selling.product` ON `product_cross_selling` . `product_id` = `product_cross_selling.product` . `crossSellings` AND `product_cross_selling` . `product_version_id` = `product_cross_selling.product` . `version_id` LEFT JOIN `product` `product_cross_selling.product.parent` ON `product_cross_selling.product` . `parent_id` = `product_cross_selling.product.parent` . `id` AND `product_cross_selling.product` . `parent_version_id` = `product_cross_selling.product.parent` . `version_id` WHERE (`product_cross_selling.product` . `id` = ? AND `product_cross_selling` . `active` = ? ) ORDER BY `product_cross_selling` . `position` ASC
Parameters :
[
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
1
]
SELECT `product_cross_selling` . `id` FROM `product_cross_selling` LEFT JOIN `product` `product_cross_selling.product` ON `product_cross_selling` . `product_id` = `product_cross_selling.product` . `crossSellings` AND `product_cross_selling` . `product_version_id` = `product_cross_selling.product` . `version_id` LEFT JOIN `product` `product_cross_selling.product.parent` ON `product_cross_selling.product` . `parent_id` = `product_cross_selling.product.parent` . `id` AND `product_cross_selling.product` . `parent_version_id` = `product_cross_selling.product.parent` . `version_id` WHERE (`product_cross_selling.product` . `id` = 0x018F5247E3737D4A9406FE0BE274B735 AND `product_cross_selling` . `active` = 1 ) ORDER BY `product_cross_selling` . `position` ASC ;
Copy
65
1.49 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
66
0.50 ms
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND (((`swp_product_options_product_to_options` . `product_id` = ? AND `swp_product_options_product_to_options` . `sales_channel_id` = ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (((`swp_product_options_product_to_options` . `product_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND `swp_product_options_product_to_options` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE )));
Copy
67
1.56 ms
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.option.productoptionsgroup` ON `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ? ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets` `swp_product_options_product_to_options.group.productoptionsset` ON `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` = `swp_product_options_product_to_options.group.productoptionsset` . `id` AND `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` = `swp_product_options_product_to_options.group.productoptionsset` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND ((`swp_product_options_product_to_options` . `product_id` = ? AND (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) = ? OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > ? AND `swp_product_options_product_to_options.option.productoptionsgroup` . `active` = ? AND NOT (`swp_product_options_product_to_options.option.productoptionsoption` . `active` < = > ? )) OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > ? AND `swp_product_options_product_to_options.group.productoptionsgroup` . `active` = ? AND `swp_product_options_product_to_options.option.productoptionsoption` . `active` = ? )))) ORDER BY `swp_product_options_product_to_options.group.productoptionsset` . `position` ASC , `swp_product_options_product_to_options.group` . `position` ASC , `swp_product_options_product_to_options.option` . `position` ASC , COALESCE (`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ) ASC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
"active "
null
"active "
"inactive "
null
"active "
"inherited "
]
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.option.productoptionsgroup` ON `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets` `swp_product_options_product_to_options.group.productoptionsset` ON `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` = `swp_product_options_product_to_options.group.productoptionsset` . `id` AND `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` = `swp_product_options_product_to_options.group.productoptionsset` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_product_to_options` . `product_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) = 'active' OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > NULL AND `swp_product_options_product_to_options.option.productoptionsgroup` . `active` = 'active' AND NOT (`swp_product_options_product_to_options.option.productoptionsoption` . `active` < = > 'inactive' )) OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > NULL AND `swp_product_options_product_to_options.group.productoptionsgroup` . `active` = 'active' AND `swp_product_options_product_to_options.option.productoptionsoption` . `active` = 'inherited' )))) ORDER BY `swp_product_options_product_to_options.group.productoptionsset` . `position` ASC , `swp_product_options_product_to_options.group` . `position` ASC , `swp_product_options_product_to_options.option` . `position` ASC , COALESCE (`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ) ASC ;
Copy
68
1.88 ms
SELECT `swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` , `swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` , `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` , `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` , `swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` , `swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` , `swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` , `swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` , `swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` , `swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` , `swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` , `swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` , `swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` , `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` , `swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` , `swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` , `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` , `swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` , `swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` , `swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` , `swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` , `swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` , `swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` , `swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` , `swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` , `swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` , `swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` , `swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` , `swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` , `swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` , `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` , `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` , `swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` , `swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` , `swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` , `swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` , `swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` , `swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` , `swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` , `swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` , `swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id` ) SEPARATOR '||' )
FROM `swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` ) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation` WHERE `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = ? ) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ? ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND (`swp_product_options_product_to_options` . `id` IN (? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRIa\t q:ö¥Õ!"H´Î "
b"\x01 ÅRIa\t q:ö¥Õ!"`T╩ "
b"""
\x01 ÅRIa\n
p¾Å³4É,&¬à
"""
b"""
\x01 ÅRIa\n
p¾Å³4É,yl1
"""
]
SELECT
`swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` ,
`swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` ,
`swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` ,
`swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` ,
`swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` ,
`swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` ,
`swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` ,
`swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` ,
`swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` ,
`swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` ,
`swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` ,
`swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` ,
`swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` ,
`swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` ,
`swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` ,
`swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` ,
`swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` ,
`swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` ,
`swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` ,
`swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` ,
`swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` ,
`swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` ,
`swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` ,
`swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` ,
`swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` ,
`swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` ,
`swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` ,
(
SELECT
GROUP_CONCAT (
HEX (
`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id`
) SEPARATOR '||'
)
FROM
`swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE
`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription`
FROM
`swp_product_options_product_to_options`
LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id`
AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id`
AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id`
AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN (
SELECT
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription`
FROM
`swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation`
WHERE
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = ?
) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id`
AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id`
LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id`
LEFT JOIN (
SELECT
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription`
FROM
`swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation`
WHERE
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ?
) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id`
WHERE
(
`swp_product_options_product_to_options` . `version_id` = ?
)
AND (
`swp_product_options_product_to_options` . `id` IN (? , ? , ? , ? )
)
Copy
SELECT `swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` , `swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` , `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` , `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` , `swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` , `swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` , `swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` , `swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` , `swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` , `swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` , `swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` , `swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` , `swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` , `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` , `swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` , `swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` , `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` , `swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` , `swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` , `swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` , `swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` , `swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` , `swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` , `swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` , `swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` , `swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` , `swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` , `swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` , `swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` , `swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` , `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` , `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` , `swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` , `swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` , `swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` , `swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` , `swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` , `swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` , `swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` , `swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` , `swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id` ) SEPARATOR '||' )
FROM `swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` ) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation` WHERE `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_product_to_options` . `id` IN (0x018F52496109713A94BEE5212248EFD7 , 0x018F52496109713A94BEE521226054CA , 0x018F5249610A70F38FFC34902C26AA85 , 0x018F5249610A70F38FFC34902C796C31 ));
Copy
69
2.39 ms
SELECT `swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` , `swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` , `swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` , `swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` , `swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` , `swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` , `swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` , `swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` , `swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` , `swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` , `swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` , `swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` , `swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_id` ) as `swp_product_options_options_products.product.manufacturerId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_version_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_version_id` ) as `swp_product_options_options_products.product.productManufacturerVersionId` , COALESCE (`swp_product_options_options_products.product` . `unit_id` , `swp_product_options_options_products.product.parent` . `unit_id` ) as `swp_product_options_options_products.product.unitId` , COALESCE (`swp_product_options_options_products.product` . `tax_id` , `swp_product_options_options_products.product.parent` . `tax_id` ) as `swp_product_options_options_products.product.taxId` , COALESCE (`swp_product_options_options_products.product` . `product_media_id` , `swp_product_options_options_products.product.parent` . `product_media_id` ) as `swp_product_options_options_products.product.coverId` , COALESCE (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) as `swp_product_options_options_products.product.productMediaVersionId` , COALESCE (`swp_product_options_options_products.product` . `delivery_time_id` , `swp_product_options_options_products.product.parent` . `delivery_time_id` ) as `swp_product_options_options_products.product.deliveryTimeId` , COALESCE (`swp_product_options_options_products.product` . `product_feature_set_id` , `swp_product_options_options_products.product.parent` . `product_feature_set_id` ) as `swp_product_options_options_products.product.featureSetId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_id` , `swp_product_options_options_products.product.parent` . `canonical_product_id` ) as `swp_product_options_options_products.product.canonicalProductId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_version_id` , `swp_product_options_options_products.product.parent` . `canonical_product_version_id` ) as `swp_product_options_options_products.product.canonicalProductVersionId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_id` , `swp_product_options_options_products.product.parent` . `cms_page_id` ) as `swp_product_options_options_products.product.cmsPageId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_version_id` , `swp_product_options_options_products.product.parent` . `cms_page_version_id` ) as `swp_product_options_options_products.product.cmsPageVersionId` , `swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` , COALESCE (`swp_product_options_options_products.product` . `price` , `swp_product_options_options_products.product.parent` . `price` ) as `swp_product_options_options_products.product.price` , `swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` , COALESCE (`swp_product_options_options_products.product` . `restock_time` , `swp_product_options_options_products.product.parent` . `restock_time` ) as `swp_product_options_options_products.product.restockTime` , `swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` , COALESCE (`swp_product_options_options_products.product` . `active` , `swp_product_options_options_products.product.parent` . `active` ) as `swp_product_options_options_products.product.active` , `swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` , COALESCE (`swp_product_options_options_products.product` . `is_closeout` , `swp_product_options_options_products.product.parent` . `is_closeout` ) as `swp_product_options_options_products.product.isCloseout` , `swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` , `swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` , `swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` , `swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` , COALESCE (`swp_product_options_options_products.product` . `variant_listing_config` , `swp_product_options_options_products.product.parent` . `variant_listing_config` ) as `swp_product_options_options_products.product.variantListingConfig` , `swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` , COALESCE (`swp_product_options_options_products.product` . `manufacturer_number` , `swp_product_options_options_products.product.parent` . `manufacturer_number` ) as `swp_product_options_options_products.product.manufacturerNumber` , COALESCE (`swp_product_options_options_products.product` . `ean` , `swp_product_options_options_products.product.parent` . `ean` ) as `swp_product_options_options_products.product.ean` , COALESCE (`swp_product_options_options_products.product` . `purchase_steps` , `swp_product_options_options_products.product.parent` . `purchase_steps` ) as `swp_product_options_options_products.product.purchaseSteps` , COALESCE (`swp_product_options_options_products.product` . `max_purchase` , `swp_product_options_options_products.product.parent` . `max_purchase` ) as `swp_product_options_options_products.product.maxPurchase` , COALESCE (`swp_product_options_options_products.product` . `min_purchase` , `swp_product_options_options_products.product.parent` . `min_purchase` ) as `swp_product_options_options_products.product.minPurchase` , COALESCE (`swp_product_options_options_products.product` . `purchase_unit` , `swp_product_options_options_products.product.parent` . `purchase_unit` ) as `swp_product_options_options_products.product.purchaseUnit` , COALESCE (`swp_product_options_options_products.product` . `reference_unit` , `swp_product_options_options_products.product.parent` . `reference_unit` ) as `swp_product_options_options_products.product.referenceUnit` , COALESCE (`swp_product_options_options_products.product` . `shipping_free` , `swp_product_options_options_products.product.parent` . `shipping_free` ) as `swp_product_options_options_products.product.shippingFree` , `swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` , COALESCE (`swp_product_options_options_products.product` . `purchase_prices` , `swp_product_options_options_products.product.parent` . `purchase_prices` ) as `swp_product_options_options_products.product.purchasePrices` , COALESCE (`swp_product_options_options_products.product` . `mark_as_topseller` , `swp_product_options_options_products.product.parent` . `mark_as_topseller` ) as `swp_product_options_options_products.product.markAsTopseller` , COALESCE (`swp_product_options_options_products.product` . `weight` , `swp_product_options_options_products.product.parent` . `weight` ) as `swp_product_options_options_products.product.weight` , COALESCE (`swp_product_options_options_products.product` . `width` , `swp_product_options_options_products.product.parent` . `width` ) as `swp_product_options_options_products.product.width` , COALESCE (`swp_product_options_options_products.product` . `height` , `swp_product_options_options_products.product.parent` . `height` ) as `swp_product_options_options_products.product.height` , COALESCE (`swp_product_options_options_products.product` . `length` , `swp_product_options_options_products.product.parent` . `length` ) as `swp_product_options_options_products.product.length` , COALESCE (`swp_product_options_options_products.product` . `release_date` , `swp_product_options_options_products.product.parent` . `release_date` ) as `swp_product_options_options_products.product.releaseDate` , COALESCE (`swp_product_options_options_products.product` . `rating_average` , `swp_product_options_options_products.product.parent` . `rating_average` ) as `swp_product_options_options_products.product.ratingAverage` , `swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_tree` , `swp_product_options_options_products.product.parent` . `category_tree` ) as `swp_product_options_options_products.product.categoryTree` , `swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `property_ids` , `swp_product_options_options_products.product.parent` . `property_ids` ) as `swp_product_options_options_products.product.propertyIds` , `swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `option_ids` , `swp_product_options_options_products.product.parent` . `option_ids` ) as `swp_product_options_options_products.product.optionIds` , `swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `stream_ids` , `swp_product_options_options_products.product.parent` . `stream_ids` ) as `swp_product_options_options_products.product.streamIds` , `swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `tag_ids` , `swp_product_options_options_products.product.parent` . `tag_ids` ) as `swp_product_options_options_products.product.tagIds` , `swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_ids` , `swp_product_options_options_products.product.parent` . `category_ids` ) as `swp_product_options_options_products.product.categoryIds` , `swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` , COALESCE (`swp_product_options_options_products.product` . `custom_field_set_selection_active` , `swp_product_options_options_products.product.parent` . `custom_field_set_selection_active` ) as `swp_product_options_options_products.product.customFieldSetSelectionActive` , `swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` , `swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` , `swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` , `swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` , `swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` , `swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` , `swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` , `swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` , `swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` , `swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` , `swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` , `swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` , `swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` , `swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` , `swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` , `swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` , `swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` , `swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` , `swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` , `swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` , `swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` , `swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` , `swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` , `swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` , `swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` , `swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` , `swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` , `swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` , `swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` , `swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` , `swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` , `swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` , `swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` , `swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` , `swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` , `swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` , `swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` , `swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` , `swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` , `swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` , `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` , `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` , `swp_product_options_options_products.product.cover.media.translation.customFields` , `swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` , `swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` , `swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` , `swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_options_products.product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `swp_product_options_options_products.product.options.mapping`
WHERE `swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id` ) as `swp_product_options_options_products.product.options.id_mapping` , `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` , COALESCE (`swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` ) as `swp_product_options_options_products.product.metaDescription` , `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` , COALESCE (`swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` ) as `swp_product_options_options_products.product.name` , `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` , COALESCE (`swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` ) as `swp_product_options_options_products.product.keywords` , `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` , COALESCE (`swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` ) as `swp_product_options_options_products.product.description` , `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` , COALESCE (`swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` ) as `swp_product_options_options_products.product.metaTitle` , `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` , COALESCE (`swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` ) as `swp_product_options_options_products.product.packUnit` , `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` , COALESCE (`swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` ) as `swp_product_options_options_products.product.packUnitPlural` , `swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` , COALESCE (`swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` ) as `swp_product_options_options_products.product.customSearchKeywords` , `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` , COALESCE (`swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` ) as `swp_product_options_options_products.product.slotConfig` , `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` , COALESCE (`swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` ) as `swp_product_options_options_products.product.customFields` FROM `swp_product_options_options_products` LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id` AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id` AND IFNULL (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) = `swp_product_options_options_products.product.cover` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.translation` . `product_id` , `swp_product_options_options_products.product.translation` . `product_version_id` , `swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.translation` WHERE `swp_product_options_options_products.product.translation` . `language_id` = ? ) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.parent.translation` . `product_id` , `swp_product_options_options_products.product.parent.translation` . `product_version_id` , `swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` , `swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` , `swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` , `swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` , `swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` , `swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.parent.translation` WHERE `swp_product_options_options_products.product.parent.translation` . `language_id` = ? ) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_products.product.cover.media.translation` . `media_id` , `swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields` FROM `media_translation` `swp_product_options_options_products.product.cover.media.translation` WHERE `swp_product_options_options_products.product.cover.media.translation` . `language_id` = ? ) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` WHERE (`swp_product_options_options_products` . `version_id` = ? ) AND ((`swp_product_options_options_products` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT
`swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` ,
`swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` ,
`swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` ,
`swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` ,
`swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` ,
`swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` ,
`swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` ,
`swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` ,
`swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` ,
`swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` ,
`swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` ,
`swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` ,
`swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_manufacturer_id` ,
`swp_product_options_options_products.product.parent` . `product_manufacturer_id`
) as `swp_product_options_options_products.product.manufacturerId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_manufacturer_version_id` ,
`swp_product_options_options_products.product.parent` . `product_manufacturer_version_id`
) as `swp_product_options_options_products.product.productManufacturerVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `unit_id` ,
`swp_product_options_options_products.product.parent` . `unit_id`
) as `swp_product_options_options_products.product.unitId` ,
COALESCE (
`swp_product_options_options_products.product` . `tax_id` ,
`swp_product_options_options_products.product.parent` . `tax_id`
) as `swp_product_options_options_products.product.taxId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_media_id` ,
`swp_product_options_options_products.product.parent` . `product_media_id`
) as `swp_product_options_options_products.product.coverId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_media_version_id` ,
`swp_product_options_options_products.product.parent` . `product_media_version_id`
) as `swp_product_options_options_products.product.productMediaVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `delivery_time_id` ,
`swp_product_options_options_products.product.parent` . `delivery_time_id`
) as `swp_product_options_options_products.product.deliveryTimeId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_feature_set_id` ,
`swp_product_options_options_products.product.parent` . `product_feature_set_id`
) as `swp_product_options_options_products.product.featureSetId` ,
COALESCE (
`swp_product_options_options_products.product` . `canonical_product_id` ,
`swp_product_options_options_products.product.parent` . `canonical_product_id`
) as `swp_product_options_options_products.product.canonicalProductId` ,
COALESCE (
`swp_product_options_options_products.product` . `canonical_product_version_id` ,
`swp_product_options_options_products.product.parent` . `canonical_product_version_id`
) as `swp_product_options_options_products.product.canonicalProductVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `cms_page_id` ,
`swp_product_options_options_products.product.parent` . `cms_page_id`
) as `swp_product_options_options_products.product.cmsPageId` ,
COALESCE (
`swp_product_options_options_products.product` . `cms_page_version_id` ,
`swp_product_options_options_products.product.parent` . `cms_page_version_id`
) as `swp_product_options_options_products.product.cmsPageVersionId` ,
`swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `price` ,
`swp_product_options_options_products.product.parent` . `price`
) as `swp_product_options_options_products.product.price` ,
`swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` ,
COALESCE (
`swp_product_options_options_products.product` . `restock_time` ,
`swp_product_options_options_products.product.parent` . `restock_time`
) as `swp_product_options_options_products.product.restockTime` ,
`swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` ,
COALESCE (
`swp_product_options_options_products.product` . `active` ,
`swp_product_options_options_products.product.parent` . `active`
) as `swp_product_options_options_products.product.active` ,
`swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` ,
COALESCE (
`swp_product_options_options_products.product` . `is_closeout` ,
`swp_product_options_options_products.product.parent` . `is_closeout`
) as `swp_product_options_options_products.product.isCloseout` ,
`swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` ,
`swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` ,
`swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` ,
`swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `variant_listing_config` ,
`swp_product_options_options_products.product.parent` . `variant_listing_config`
) as `swp_product_options_options_products.product.variantListingConfig` ,
`swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` ,
COALESCE (
`swp_product_options_options_products.product` . `manufacturer_number` ,
`swp_product_options_options_products.product.parent` . `manufacturer_number`
) as `swp_product_options_options_products.product.manufacturerNumber` ,
COALESCE (
`swp_product_options_options_products.product` . `ean` ,
`swp_product_options_options_products.product.parent` . `ean`
) as `swp_product_options_options_products.product.ean` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_steps` ,
`swp_product_options_options_products.product.parent` . `purchase_steps`
) as `swp_product_options_options_products.product.purchaseSteps` ,
COALESCE (
`swp_product_options_options_products.product` . `max_purchase` ,
`swp_product_options_options_products.product.parent` . `max_purchase`
) as `swp_product_options_options_products.product.maxPurchase` ,
COALESCE (
`swp_product_options_options_products.product` . `min_purchase` ,
`swp_product_options_options_products.product.parent` . `min_purchase`
) as `swp_product_options_options_products.product.minPurchase` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_unit` ,
`swp_product_options_options_products.product.parent` . `purchase_unit`
) as `swp_product_options_options_products.product.purchaseUnit` ,
COALESCE (
`swp_product_options_options_products.product` . `reference_unit` ,
`swp_product_options_options_products.product.parent` . `reference_unit`
) as `swp_product_options_options_products.product.referenceUnit` ,
COALESCE (
`swp_product_options_options_products.product` . `shipping_free` ,
`swp_product_options_options_products.product.parent` . `shipping_free`
) as `swp_product_options_options_products.product.shippingFree` ,
`swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_prices` ,
`swp_product_options_options_products.product.parent` . `purchase_prices`
) as `swp_product_options_options_products.product.purchasePrices` ,
COALESCE (
`swp_product_options_options_products.product` . `mark_as_topseller` ,
`swp_product_options_options_products.product.parent` . `mark_as_topseller`
) as `swp_product_options_options_products.product.markAsTopseller` ,
COALESCE (
`swp_product_options_options_products.product` . `weight` ,
`swp_product_options_options_products.product.parent` . `weight`
) as `swp_product_options_options_products.product.weight` ,
COALESCE (
`swp_product_options_options_products.product` . `width` ,
`swp_product_options_options_products.product.parent` . `width`
) as `swp_product_options_options_products.product.width` ,
COALESCE (
`swp_product_options_options_products.product` . `height` ,
`swp_product_options_options_products.product.parent` . `height`
) as `swp_product_options_options_products.product.height` ,
COALESCE (
`swp_product_options_options_products.product` . `length` ,
`swp_product_options_options_products.product.parent` . `length`
) as `swp_product_options_options_products.product.length` ,
COALESCE (
`swp_product_options_options_products.product` . `release_date` ,
`swp_product_options_options_products.product.parent` . `release_date`
) as `swp_product_options_options_products.product.releaseDate` ,
COALESCE (
`swp_product_options_options_products.product` . `rating_average` ,
`swp_product_options_options_products.product.parent` . `rating_average`
) as `swp_product_options_options_products.product.ratingAverage` ,
`swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `category_tree` ,
`swp_product_options_options_products.product.parent` . `category_tree`
) as `swp_product_options_options_products.product.categoryTree` ,
`swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `property_ids` ,
`swp_product_options_options_products.product.parent` . `property_ids`
) as `swp_product_options_options_products.product.propertyIds` ,
`swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `option_ids` ,
`swp_product_options_options_products.product.parent` . `option_ids`
) as `swp_product_options_options_products.product.optionIds` ,
`swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `stream_ids` ,
`swp_product_options_options_products.product.parent` . `stream_ids`
) as `swp_product_options_options_products.product.streamIds` ,
`swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `tag_ids` ,
`swp_product_options_options_products.product.parent` . `tag_ids`
) as `swp_product_options_options_products.product.tagIds` ,
`swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `category_ids` ,
`swp_product_options_options_products.product.parent` . `category_ids`
) as `swp_product_options_options_products.product.categoryIds` ,
`swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` ,
COALESCE (
`swp_product_options_options_products.product` . `custom_field_set_selection_active` ,
`swp_product_options_options_products.product.parent` . `custom_field_set_selection_active`
) as `swp_product_options_options_products.product.customFieldSetSelectionActive` ,
`swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` ,
`swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` ,
`swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` ,
`swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` ,
`swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` ,
`swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` ,
`swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` ,
`swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` ,
`swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` ,
`swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` ,
`swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` ,
`swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` ,
`swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` ,
`swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` ,
`swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` ,
`swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` ,
`swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` ,
`swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` ,
`swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` ,
`swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` ,
`swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` ,
`swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` ,
`swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` ,
`swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` ,
`swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` ,
`swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` ,
`swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` ,
`swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` ,
`swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` ,
`swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` ,
`swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` ,
`swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` ,
`swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` ,
`swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` ,
`swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` ,
`swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` ,
`swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` ,
`swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` ,
`swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` ,
`swp_product_options_options_products.product.cover.media.translation.title` ,
`swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` ,
`swp_product_options_options_products.product.cover.media.translation.alt` ,
`swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` ,
`swp_product_options_options_products.product.cover.media.translation.customFields` ,
`swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` ,
`swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` ,
`swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` ,
`swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` ,
(
SELECT
GROUP_CONCAT (
HEX (
`swp_product_options_options_products.product.options.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `swp_product_options_options_products.product.options.mapping`
WHERE
`swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id`
) as `swp_product_options_options_products.product.options.id_mapping` ,
`swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation.metaDescription` ,
COALESCE (
`swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation.metaDescription`
) as `swp_product_options_options_products.product.metaDescription` ,
`swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.parent.translation.name` ,
COALESCE (
`swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.parent.translation.name`
) as `swp_product_options_options_products.product.name` ,
`swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation.keywords` ,
COALESCE (
`swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation.keywords`
) as `swp_product_options_options_products.product.keywords` ,
`swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.parent.translation.description` ,
COALESCE (
`swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.parent.translation.description`
) as `swp_product_options_options_products.product.description` ,
`swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation.metaTitle` ,
COALESCE (
`swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation.metaTitle`
) as `swp_product_options_options_products.product.metaTitle` ,
`swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation.packUnit` ,
COALESCE (
`swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation.packUnit`
) as `swp_product_options_options_products.product.packUnit` ,
`swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation.packUnitPlural` ,
COALESCE (
`swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation.packUnitPlural`
) as `swp_product_options_options_products.product.packUnitPlural` ,
`swp_product_options_options_products.product.translation.customSearchKeywords` ,
`swp_product_options_options_products.product.parent.translation.customSearchKeywords` ,
COALESCE (
`swp_product_options_options_products.product.translation.customSearchKeywords` ,
`swp_product_options_options_products.product.parent.translation.customSearchKeywords`
) as `swp_product_options_options_products.product.customSearchKeywords` ,
`swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation.slotConfig` ,
COALESCE (
`swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation.slotConfig`
) as `swp_product_options_options_products.product.slotConfig` ,
`swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation.customFields` ,
COALESCE (
`swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation.customFields`
) as `swp_product_options_options_products.product.customFields`
FROM
`swp_product_options_options_products`
LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id`
AND `swp_product_options_options_products.product` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id`
AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id`
LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id`
AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id`
LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id`
AND IFNULL (
`swp_product_options_options_products.product` . `product_media_version_id` ,
`swp_product_options_options_products.product.parent` . `product_media_version_id`
) = `swp_product_options_options_products.product.cover` . `version_id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.translation` . `product_id` ,
`swp_product_options_options_products.product.translation` . `product_version_id` ,
`swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords`
FROM
`product_translation` `swp_product_options_options_products.product.translation`
WHERE
`swp_product_options_options_products.product.translation` . `language_id` = ?
) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id`
AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.parent.translation` . `product_id` ,
`swp_product_options_options_products.product.parent.translation` . `product_version_id` ,
`swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` ,
`swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` ,
`swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords`
FROM
`product_translation` `swp_product_options_options_products.product.parent.translation`
WHERE
`swp_product_options_options_products.product.parent.translation` . `language_id` = ?
) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id`
AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id`
LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.cover.media.translation` . `media_id` ,
`swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` ,
`swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` ,
`swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields`
FROM
`media_translation` `swp_product_options_options_products.product.cover.media.translation`
WHERE
`swp_product_options_options_products.product.cover.media.translation` . `language_id` = ?
) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id`
WHERE
(
`swp_product_options_options_products` . `version_id` = ?
)
AND (
(
`swp_product_options_options_products` . `swp_product_options_options_id` IN (? , ? , ? , ? )
)
)
Copy
SELECT `swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` , `swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` , `swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` , `swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` , `swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` , `swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` , `swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` , `swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` , `swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` , `swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` , `swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` , `swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` , `swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_id` ) as `swp_product_options_options_products.product.manufacturerId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_version_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_version_id` ) as `swp_product_options_options_products.product.productManufacturerVersionId` , COALESCE (`swp_product_options_options_products.product` . `unit_id` , `swp_product_options_options_products.product.parent` . `unit_id` ) as `swp_product_options_options_products.product.unitId` , COALESCE (`swp_product_options_options_products.product` . `tax_id` , `swp_product_options_options_products.product.parent` . `tax_id` ) as `swp_product_options_options_products.product.taxId` , COALESCE (`swp_product_options_options_products.product` . `product_media_id` , `swp_product_options_options_products.product.parent` . `product_media_id` ) as `swp_product_options_options_products.product.coverId` , COALESCE (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) as `swp_product_options_options_products.product.productMediaVersionId` , COALESCE (`swp_product_options_options_products.product` . `delivery_time_id` , `swp_product_options_options_products.product.parent` . `delivery_time_id` ) as `swp_product_options_options_products.product.deliveryTimeId` , COALESCE (`swp_product_options_options_products.product` . `product_feature_set_id` , `swp_product_options_options_products.product.parent` . `product_feature_set_id` ) as `swp_product_options_options_products.product.featureSetId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_id` , `swp_product_options_options_products.product.parent` . `canonical_product_id` ) as `swp_product_options_options_products.product.canonicalProductId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_version_id` , `swp_product_options_options_products.product.parent` . `canonical_product_version_id` ) as `swp_product_options_options_products.product.canonicalProductVersionId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_id` , `swp_product_options_options_products.product.parent` . `cms_page_id` ) as `swp_product_options_options_products.product.cmsPageId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_version_id` , `swp_product_options_options_products.product.parent` . `cms_page_version_id` ) as `swp_product_options_options_products.product.cmsPageVersionId` , `swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` , COALESCE (`swp_product_options_options_products.product` . `price` , `swp_product_options_options_products.product.parent` . `price` ) as `swp_product_options_options_products.product.price` , `swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` , COALESCE (`swp_product_options_options_products.product` . `restock_time` , `swp_product_options_options_products.product.parent` . `restock_time` ) as `swp_product_options_options_products.product.restockTime` , `swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` , COALESCE (`swp_product_options_options_products.product` . `active` , `swp_product_options_options_products.product.parent` . `active` ) as `swp_product_options_options_products.product.active` , `swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` , COALESCE (`swp_product_options_options_products.product` . `is_closeout` , `swp_product_options_options_products.product.parent` . `is_closeout` ) as `swp_product_options_options_products.product.isCloseout` , `swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` , `swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` , `swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` , `swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` , COALESCE (`swp_product_options_options_products.product` . `variant_listing_config` , `swp_product_options_options_products.product.parent` . `variant_listing_config` ) as `swp_product_options_options_products.product.variantListingConfig` , `swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` , COALESCE (`swp_product_options_options_products.product` . `manufacturer_number` , `swp_product_options_options_products.product.parent` . `manufacturer_number` ) as `swp_product_options_options_products.product.manufacturerNumber` , COALESCE (`swp_product_options_options_products.product` . `ean` , `swp_product_options_options_products.product.parent` . `ean` ) as `swp_product_options_options_products.product.ean` , COALESCE (`swp_product_options_options_products.product` . `purchase_steps` , `swp_product_options_options_products.product.parent` . `purchase_steps` ) as `swp_product_options_options_products.product.purchaseSteps` , COALESCE (`swp_product_options_options_products.product` . `max_purchase` , `swp_product_options_options_products.product.parent` . `max_purchase` ) as `swp_product_options_options_products.product.maxPurchase` , COALESCE (`swp_product_options_options_products.product` . `min_purchase` , `swp_product_options_options_products.product.parent` . `min_purchase` ) as `swp_product_options_options_products.product.minPurchase` , COALESCE (`swp_product_options_options_products.product` . `purchase_unit` , `swp_product_options_options_products.product.parent` . `purchase_unit` ) as `swp_product_options_options_products.product.purchaseUnit` , COALESCE (`swp_product_options_options_products.product` . `reference_unit` , `swp_product_options_options_products.product.parent` . `reference_unit` ) as `swp_product_options_options_products.product.referenceUnit` , COALESCE (`swp_product_options_options_products.product` . `shipping_free` , `swp_product_options_options_products.product.parent` . `shipping_free` ) as `swp_product_options_options_products.product.shippingFree` , `swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` , COALESCE (`swp_product_options_options_products.product` . `purchase_prices` , `swp_product_options_options_products.product.parent` . `purchase_prices` ) as `swp_product_options_options_products.product.purchasePrices` , COALESCE (`swp_product_options_options_products.product` . `mark_as_topseller` , `swp_product_options_options_products.product.parent` . `mark_as_topseller` ) as `swp_product_options_options_products.product.markAsTopseller` , COALESCE (`swp_product_options_options_products.product` . `weight` , `swp_product_options_options_products.product.parent` . `weight` ) as `swp_product_options_options_products.product.weight` , COALESCE (`swp_product_options_options_products.product` . `width` , `swp_product_options_options_products.product.parent` . `width` ) as `swp_product_options_options_products.product.width` , COALESCE (`swp_product_options_options_products.product` . `height` , `swp_product_options_options_products.product.parent` . `height` ) as `swp_product_options_options_products.product.height` , COALESCE (`swp_product_options_options_products.product` . `length` , `swp_product_options_options_products.product.parent` . `length` ) as `swp_product_options_options_products.product.length` , COALESCE (`swp_product_options_options_products.product` . `release_date` , `swp_product_options_options_products.product.parent` . `release_date` ) as `swp_product_options_options_products.product.releaseDate` , COALESCE (`swp_product_options_options_products.product` . `rating_average` , `swp_product_options_options_products.product.parent` . `rating_average` ) as `swp_product_options_options_products.product.ratingAverage` , `swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_tree` , `swp_product_options_options_products.product.parent` . `category_tree` ) as `swp_product_options_options_products.product.categoryTree` , `swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `property_ids` , `swp_product_options_options_products.product.parent` . `property_ids` ) as `swp_product_options_options_products.product.propertyIds` , `swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `option_ids` , `swp_product_options_options_products.product.parent` . `option_ids` ) as `swp_product_options_options_products.product.optionIds` , `swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `stream_ids` , `swp_product_options_options_products.product.parent` . `stream_ids` ) as `swp_product_options_options_products.product.streamIds` , `swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `tag_ids` , `swp_product_options_options_products.product.parent` . `tag_ids` ) as `swp_product_options_options_products.product.tagIds` , `swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_ids` , `swp_product_options_options_products.product.parent` . `category_ids` ) as `swp_product_options_options_products.product.categoryIds` , `swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` , COALESCE (`swp_product_options_options_products.product` . `custom_field_set_selection_active` , `swp_product_options_options_products.product.parent` . `custom_field_set_selection_active` ) as `swp_product_options_options_products.product.customFieldSetSelectionActive` , `swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` , `swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` , `swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` , `swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` , `swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` , `swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` , `swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` , `swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` , `swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` , `swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` , `swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` , `swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` , `swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` , `swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` , `swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` , `swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` , `swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` , `swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` , `swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` , `swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` , `swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` , `swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` , `swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` , `swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` , `swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` , `swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` , `swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` , `swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` , `swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` , `swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` , `swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` , `swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` , `swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` , `swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` , `swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` , `swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` , `swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` , `swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` , `swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` , `swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` , `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` , `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` , `swp_product_options_options_products.product.cover.media.translation.customFields` , `swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` , `swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` , `swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` , `swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_options_products.product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `swp_product_options_options_products.product.options.mapping`
WHERE `swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id` ) as `swp_product_options_options_products.product.options.id_mapping` , `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` , COALESCE (`swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` ) as `swp_product_options_options_products.product.metaDescription` , `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` , COALESCE (`swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` ) as `swp_product_options_options_products.product.name` , `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` , COALESCE (`swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` ) as `swp_product_options_options_products.product.keywords` , `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` , COALESCE (`swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` ) as `swp_product_options_options_products.product.description` , `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` , COALESCE (`swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` ) as `swp_product_options_options_products.product.metaTitle` , `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` , COALESCE (`swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` ) as `swp_product_options_options_products.product.packUnit` , `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` , COALESCE (`swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` ) as `swp_product_options_options_products.product.packUnitPlural` , `swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` , COALESCE (`swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` ) as `swp_product_options_options_products.product.customSearchKeywords` , `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` , COALESCE (`swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` ) as `swp_product_options_options_products.product.slotConfig` , `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` , COALESCE (`swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` ) as `swp_product_options_options_products.product.customFields` FROM `swp_product_options_options_products` LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id` AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id` AND IFNULL (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) = `swp_product_options_options_products.product.cover` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.translation` . `product_id` , `swp_product_options_options_products.product.translation` . `product_version_id` , `swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.translation` WHERE `swp_product_options_options_products.product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.parent.translation` . `product_id` , `swp_product_options_options_products.product.parent.translation` . `product_version_id` , `swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` , `swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` , `swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` , `swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` , `swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` , `swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.parent.translation` WHERE `swp_product_options_options_products.product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_products.product.cover.media.translation` . `media_id` , `swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields` FROM `media_translation` `swp_product_options_options_products.product.cover.media.translation` WHERE `swp_product_options_options_products.product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` WHERE (`swp_product_options_options_products` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_products` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
70
0.74 ms
SELECT `swp_product_options_options_media` . `id` as `swp_product_options_options_media.id` , `swp_product_options_options_media` . `version_id` as `swp_product_options_options_media.versionId` , `swp_product_options_options_media` . `swp_product_options_options_id` as `swp_product_options_options_media.swpProductOptionsOptionsId` , `swp_product_options_options_media` . `swp_product_options_options_version_id` as `swp_product_options_options_media.swpProductOptionsOptionsVersionId` , `swp_product_options_options_media` . `media_id` as `swp_product_options_options_media.mediaId` , `swp_product_options_options_media` . `position` as `swp_product_options_options_media.position` , `swp_product_options_options_media.media` . `id` as `swp_product_options_options_media.media.id` , `swp_product_options_options_media.media` . `user_id` as `swp_product_options_options_media.media.userId` , `swp_product_options_options_media.media` . `media_folder_id` as `swp_product_options_options_media.media.mediaFolderId` , `swp_product_options_options_media.media` . `mime_type` as `swp_product_options_options_media.media.mimeType` , `swp_product_options_options_media.media` . `file_extension` as `swp_product_options_options_media.media.fileExtension` , `swp_product_options_options_media.media` . `uploaded_at` as `swp_product_options_options_media.media.uploadedAt` , `swp_product_options_options_media.media` . `file_name` as `swp_product_options_options_media.media.fileName` , `swp_product_options_options_media.media` . `file_size` as `swp_product_options_options_media.media.fileSize` , `swp_product_options_options_media.media` . `media_type` as `swp_product_options_options_media.media.mediaTypeRaw` , `swp_product_options_options_media.media` . `meta_data` as `swp_product_options_options_media.media.metaData` , `swp_product_options_options_media.media` . `config` as `swp_product_options_options_media.media.config` , `swp_product_options_options_media.media` . `path` as `swp_product_options_options_media.media.path` , `swp_product_options_options_media.media` . `private` as `swp_product_options_options_media.media.private` , `swp_product_options_options_media.media` . `thumbnails_ro` as `swp_product_options_options_media.media.thumbnailsRo` , `swp_product_options_options_media.media` . `created_at` as `swp_product_options_options_media.media.createdAt` , `swp_product_options_options_media.media` . `updated_at` as `swp_product_options_options_media.media.updatedAt` , `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation.title` as `swp_product_options_options_media.media.title` , `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation.alt` as `swp_product_options_options_media.media.alt` , `swp_product_options_options_media.media.translation.customFields` , `swp_product_options_options_media.media.translation.customFields` as `swp_product_options_options_media.media.customFields` , `swp_product_options_options_media` . `created_at` as `swp_product_options_options_media.createdAt` , `swp_product_options_options_media` . `updated_at` as `swp_product_options_options_media.updatedAt` FROM `swp_product_options_options_media` LEFT JOIN `media` `swp_product_options_options_media.media` ON `swp_product_options_options_media` . `media_id` = `swp_product_options_options_media.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_media.media.translation` . `media_id` , `swp_product_options_options_media.media.translation` . `alt` as `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation` . `title` as `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation` . `custom_fields` as `swp_product_options_options_media.media.translation.customFields` FROM `media_translation` `swp_product_options_options_media.media.translation` WHERE `swp_product_options_options_media.media.translation` . `language_id` = ? ) `swp_product_options_options_media.media.media_translation` ON `swp_product_options_options_media.media.media_translation` . `media_id` = `swp_product_options_options_media.media` . `id` WHERE (`swp_product_options_options_media` . `version_id` = ? ) AND ((`swp_product_options_options_media` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT `swp_product_options_options_media` . `id` as `swp_product_options_options_media.id` , `swp_product_options_options_media` . `version_id` as `swp_product_options_options_media.versionId` , `swp_product_options_options_media` . `swp_product_options_options_id` as `swp_product_options_options_media.swpProductOptionsOptionsId` , `swp_product_options_options_media` . `swp_product_options_options_version_id` as `swp_product_options_options_media.swpProductOptionsOptionsVersionId` , `swp_product_options_options_media` . `media_id` as `swp_product_options_options_media.mediaId` , `swp_product_options_options_media` . `position` as `swp_product_options_options_media.position` , `swp_product_options_options_media.media` . `id` as `swp_product_options_options_media.media.id` , `swp_product_options_options_media.media` . `user_id` as `swp_product_options_options_media.media.userId` , `swp_product_options_options_media.media` . `media_folder_id` as `swp_product_options_options_media.media.mediaFolderId` , `swp_product_options_options_media.media` . `mime_type` as `swp_product_options_options_media.media.mimeType` , `swp_product_options_options_media.media` . `file_extension` as `swp_product_options_options_media.media.fileExtension` , `swp_product_options_options_media.media` . `uploaded_at` as `swp_product_options_options_media.media.uploadedAt` , `swp_product_options_options_media.media` . `file_name` as `swp_product_options_options_media.media.fileName` , `swp_product_options_options_media.media` . `file_size` as `swp_product_options_options_media.media.fileSize` , `swp_product_options_options_media.media` . `media_type` as `swp_product_options_options_media.media.mediaTypeRaw` , `swp_product_options_options_media.media` . `meta_data` as `swp_product_options_options_media.media.metaData` , `swp_product_options_options_media.media` . `config` as `swp_product_options_options_media.media.config` , `swp_product_options_options_media.media` . `path` as `swp_product_options_options_media.media.path` , `swp_product_options_options_media.media` . `private` as `swp_product_options_options_media.media.private` , `swp_product_options_options_media.media` . `thumbnails_ro` as `swp_product_options_options_media.media.thumbnailsRo` , `swp_product_options_options_media.media` . `created_at` as `swp_product_options_options_media.media.createdAt` , `swp_product_options_options_media.media` . `updated_at` as `swp_product_options_options_media.media.updatedAt` , `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation.title` as `swp_product_options_options_media.media.title` , `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation.alt` as `swp_product_options_options_media.media.alt` , `swp_product_options_options_media.media.translation.customFields` , `swp_product_options_options_media.media.translation.customFields` as `swp_product_options_options_media.media.customFields` , `swp_product_options_options_media` . `created_at` as `swp_product_options_options_media.createdAt` , `swp_product_options_options_media` . `updated_at` as `swp_product_options_options_media.updatedAt` FROM `swp_product_options_options_media` LEFT JOIN `media` `swp_product_options_options_media.media` ON `swp_product_options_options_media` . `media_id` = `swp_product_options_options_media.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_media.media.translation` . `media_id` , `swp_product_options_options_media.media.translation` . `alt` as `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation` . `title` as `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation` . `custom_fields` as `swp_product_options_options_media.media.translation.customFields` FROM `media_translation` `swp_product_options_options_media.media.translation` WHERE `swp_product_options_options_media.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_media.media.media_translation` ON `swp_product_options_options_media.media.media_translation` . `media_id` = `swp_product_options_options_media.media` . `id` WHERE (`swp_product_options_options_media` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_media` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
71
0.60 ms
SELECT `swp_product_options_options` . `id` as `swp_product_options_options.id` , `swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` , `swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` , `swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` , `swp_product_options_options` . `operator` as `swp_product_options_options.operator` , `swp_product_options_options` . `price` as `swp_product_options_options.price` , `swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` , `swp_product_options_options` . `weight` as `swp_product_options_options.weight` , `swp_product_options_options` . `width` as `swp_product_options_options.width` , `swp_product_options_options` . `height` as `swp_product_options_options.height` , `swp_product_options_options` . `length` as `swp_product_options_options.length` , `swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` , `swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` , `swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` , `swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` , `swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` , `swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` , `swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` , `swp_product_options_options` . `active` as `swp_product_options_options.active` , `swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` , `swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` , `swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` , `swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` , `swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` , `swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` , `swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` , `swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` , `swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` , `swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` , `swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` , `swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` , `swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` , `swp_product_options_options.translation.name` , `swp_product_options_options.translation.name` as `swp_product_options_options.name` , `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` , `swp_product_options_options.translation.longDescription` , `swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription` FROM `swp_product_options_options` LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id` LEFT JOIN (SELECT `swp_product_options_options.translation` . `swp_product_options_options_id` , `swp_product_options_options.translation` . `swp_product_options_options_version_id` , `swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` , `swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_options.translation` WHERE `swp_product_options_options.translation` . `language_id` = ? ) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id` AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id` WHERE (`swp_product_options_options` . `version_id` = ? ) AND (`swp_product_options_options` . `id` IN (? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
]
SELECT
`swp_product_options_options` . `id` as `swp_product_options_options.id` ,
`swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` ,
`swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` ,
`swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` ,
`swp_product_options_options` . `operator` as `swp_product_options_options.operator` ,
`swp_product_options_options` . `price` as `swp_product_options_options.price` ,
`swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` ,
`swp_product_options_options` . `weight` as `swp_product_options_options.weight` ,
`swp_product_options_options` . `width` as `swp_product_options_options.width` ,
`swp_product_options_options` . `height` as `swp_product_options_options.height` ,
`swp_product_options_options` . `length` as `swp_product_options_options.length` ,
`swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` ,
`swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` ,
`swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` ,
`swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` ,
`swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` ,
`swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` ,
`swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` ,
`swp_product_options_options` . `active` as `swp_product_options_options.active` ,
`swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` ,
`swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` ,
`swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` ,
`swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` ,
`swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` ,
`swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` ,
`swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` ,
`swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` ,
`swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` ,
`swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` ,
`swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` ,
`swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` ,
`swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` ,
`swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` ,
`swp_product_options_options.translation.name` ,
`swp_product_options_options.translation.name` as `swp_product_options_options.name` ,
`swp_product_options_options.translation.shortDescription` ,
`swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` ,
`swp_product_options_options.translation.longDescription` ,
`swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription`
FROM
`swp_product_options_options`
LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id`
LEFT JOIN (
SELECT
`swp_product_options_options.translation` . `swp_product_options_options_id` ,
`swp_product_options_options.translation` . `swp_product_options_options_version_id` ,
`swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` ,
`swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` ,
`swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription`
FROM
`swp_product_options_options_translation` `swp_product_options_options.translation`
WHERE
`swp_product_options_options.translation` . `language_id` = ?
) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id`
AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id`
WHERE
(
`swp_product_options_options` . `version_id` = ?
)
AND (
`swp_product_options_options` . `id` IN (? , ? , ? , ? )
)
Copy
SELECT `swp_product_options_options` . `id` as `swp_product_options_options.id` , `swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` , `swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` , `swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` , `swp_product_options_options` . `operator` as `swp_product_options_options.operator` , `swp_product_options_options` . `price` as `swp_product_options_options.price` , `swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` , `swp_product_options_options` . `weight` as `swp_product_options_options.weight` , `swp_product_options_options` . `width` as `swp_product_options_options.width` , `swp_product_options_options` . `height` as `swp_product_options_options.height` , `swp_product_options_options` . `length` as `swp_product_options_options.length` , `swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` , `swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` , `swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` , `swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` , `swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` , `swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` , `swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` , `swp_product_options_options` . `active` as `swp_product_options_options.active` , `swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` , `swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` , `swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` , `swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` , `swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` , `swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` , `swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` , `swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` , `swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` , `swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` , `swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` , `swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` , `swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` , `swp_product_options_options.translation.name` , `swp_product_options_options.translation.name` as `swp_product_options_options.name` , `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` , `swp_product_options_options.translation.longDescription` , `swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription` FROM `swp_product_options_options` LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id` LEFT JOIN (SELECT `swp_product_options_options.translation` . `swp_product_options_options_id` , `swp_product_options_options.translation` . `swp_product_options_options_version_id` , `swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` , `swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_options.translation` WHERE `swp_product_options_options.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id` AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id` WHERE (`swp_product_options_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_options` . `id` IN (0x018F521339317C5C94760337E42900B0 , 0x018F521406F873F78193375994D50411 , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 ));
Copy
72
0.36 ms
SELECT `swp_product_options_options_price` . `id` as `swp_product_options_options_price.id` , `swp_product_options_options_price` . `version_id` as `swp_product_options_options_price.versionId` , `swp_product_options_options_price` . `swp_product_options_options_id` as `swp_product_options_options_price.swpProductOptionsOptionsId` , `swp_product_options_options_price` . `swp_product_options_options_version_id` as `swp_product_options_options_price.swpProductOptionsOptionsVersionId` , `swp_product_options_options_price` . `rule_id` as `swp_product_options_options_price.ruleId` , `swp_product_options_options_price` . `price` as `swp_product_options_options_price.price` , `swp_product_options_options_price` . `quantity_start` as `swp_product_options_options_price.quantityStart` , `swp_product_options_options_price` . `quantity_end` as `swp_product_options_options_price.quantityEnd` , `swp_product_options_options_price` . `created_at` as `swp_product_options_options_price.createdAt` , `swp_product_options_options_price` . `updated_at` as `swp_product_options_options_price.updatedAt` FROM `swp_product_options_options_price` WHERE (`swp_product_options_options_price` . `version_id` = ? ) AND ((`swp_product_options_options_price` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT `swp_product_options_options_price` . `id` as `swp_product_options_options_price.id` , `swp_product_options_options_price` . `version_id` as `swp_product_options_options_price.versionId` , `swp_product_options_options_price` . `swp_product_options_options_id` as `swp_product_options_options_price.swpProductOptionsOptionsId` , `swp_product_options_options_price` . `swp_product_options_options_version_id` as `swp_product_options_options_price.swpProductOptionsOptionsVersionId` , `swp_product_options_options_price` . `rule_id` as `swp_product_options_options_price.ruleId` , `swp_product_options_options_price` . `price` as `swp_product_options_options_price.price` , `swp_product_options_options_price` . `quantity_start` as `swp_product_options_options_price.quantityStart` , `swp_product_options_options_price` . `quantity_end` as `swp_product_options_options_price.quantityEnd` , `swp_product_options_options_price` . `created_at` as `swp_product_options_options_price.createdAt` , `swp_product_options_options_price` . `updated_at` as `swp_product_options_options_price.updatedAt` FROM `swp_product_options_options_price` WHERE (`swp_product_options_options_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_price` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
73
0.48 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) AND (`product` . `id` IN (? )) GROUP BY `product` . `id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 )) GROUP BY `product` . `id` ;
Copy
74
1.98 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
75
0.40 ms
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = ? ) AND ((`product_price` . `product_id` IN (? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_price` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
76
1.67 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
77
2.82 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
78
3.09 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
79
2.96 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
80
2.83 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
81
0.37 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
82
0.88 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) AND (`product` . `id` IN (? )) GROUP BY `product` . `id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 )) GROUP BY `product` . `id` ;
Copy
83
4.17 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
84
0.84 ms
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = ? ) AND ((`product_price` . `product_id` IN (? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_price` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
85
3.16 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
86
3.57 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
87
1.70 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
88
1.78 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
89
4.76 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
90
0.58 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
91
0.95 ms
SELECT `swp_product_options_groups` . `id` as `swp_product_options_groups.id` , `swp_product_options_groups` . `version_id` as `swp_product_options_groups.versionId` , `swp_product_options_groups` . `parent_id` as `swp_product_options_groups.parentId` , `swp_product_options_groups` . `parent_version_id` as `swp_product_options_groups.parentVersionId` , `swp_product_options_groups` . `field_typ` as `swp_product_options_groups.fieldTyp` , `swp_product_options_groups` . `required` as `swp_product_options_groups.required` , `swp_product_options_groups` . `active` as `swp_product_options_groups.active` , `swp_product_options_groups` . `with_quantity` as `swp_product_options_groups.withQuantity` , `swp_product_options_groups` . `zoommedia` as `swp_product_options_groups.zoommedia` , `swp_product_options_groups` . `int_identifier` as `swp_product_options_groups.intIdentifier` , `swp_product_options_groups` . `additional_class` as `swp_product_options_groups.additionalClass` , `swp_product_options_groups` . `created_at` as `swp_product_options_groups.createdAt` , `swp_product_options_groups` . `updated_at` as `swp_product_options_groups.updatedAt` , `swp_product_options_groups` . `swp_product_options_formula_id` as `swp_product_options_groups.swpProductOptionsFormulaId` , `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation.name` as `swp_product_options_groups.name` , `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation.shortDescription` as `swp_product_options_groups.shortDescription` , `swp_product_options_groups.translation.longDescription` , `swp_product_options_groups.translation.longDescription` as `swp_product_options_groups.longDescription` FROM `swp_product_options_groups` LEFT JOIN (SELECT `swp_product_options_groups.translation` . `swp_product_options_groups_id` , `swp_product_options_groups.translation` . `swp_product_options_groups_version_id` , `swp_product_options_groups.translation` . `name` as `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation` . `short_description` as `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation` . `long_description` as `swp_product_options_groups.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_groups.translation` WHERE `swp_product_options_groups.translation` . `language_id` = ? ) `swp_product_options_groups.swp_product_options_groups_translation` ON `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_groups` . `id` AND `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_groups` . `version_id` WHERE (`swp_product_options_groups` . `version_id` = ? ) AND (`swp_product_options_groups` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRF|zvtº¡!Pf\x1E oÆ "
]
SELECT `swp_product_options_groups` . `id` as `swp_product_options_groups.id` , `swp_product_options_groups` . `version_id` as `swp_product_options_groups.versionId` , `swp_product_options_groups` . `parent_id` as `swp_product_options_groups.parentId` , `swp_product_options_groups` . `parent_version_id` as `swp_product_options_groups.parentVersionId` , `swp_product_options_groups` . `field_typ` as `swp_product_options_groups.fieldTyp` , `swp_product_options_groups` . `required` as `swp_product_options_groups.required` , `swp_product_options_groups` . `active` as `swp_product_options_groups.active` , `swp_product_options_groups` . `with_quantity` as `swp_product_options_groups.withQuantity` , `swp_product_options_groups` . `zoommedia` as `swp_product_options_groups.zoommedia` , `swp_product_options_groups` . `int_identifier` as `swp_product_options_groups.intIdentifier` , `swp_product_options_groups` . `additional_class` as `swp_product_options_groups.additionalClass` , `swp_product_options_groups` . `created_at` as `swp_product_options_groups.createdAt` , `swp_product_options_groups` . `updated_at` as `swp_product_options_groups.updatedAt` , `swp_product_options_groups` . `swp_product_options_formula_id` as `swp_product_options_groups.swpProductOptionsFormulaId` , `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation.name` as `swp_product_options_groups.name` , `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation.shortDescription` as `swp_product_options_groups.shortDescription` , `swp_product_options_groups.translation.longDescription` , `swp_product_options_groups.translation.longDescription` as `swp_product_options_groups.longDescription` FROM `swp_product_options_groups` LEFT JOIN (SELECT `swp_product_options_groups.translation` . `swp_product_options_groups_id` , `swp_product_options_groups.translation` . `swp_product_options_groups_version_id` , `swp_product_options_groups.translation` . `name` as `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation` . `short_description` as `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation` . `long_description` as `swp_product_options_groups.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_groups.translation` WHERE `swp_product_options_groups.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_groups.swp_product_options_groups_translation` ON `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_groups` . `id` AND `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_groups` . `version_id` WHERE (`swp_product_options_groups` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_groups` . `id` IN (0x018F52467C7A7674A7AD2150661E6F92 ));
Copy
92
1.03 ms
SELECT `language` . `id` FROM `language` LEFT JOIN `sales_channel_domain` `language.salesChannelDomains` ON `language` . `id` = `language.salesChannelDomains` . `language_id` LEFT JOIN `sales_channel_language` `language.salesChannels.mapping` ON `language` . `id` = `language.salesChannels.mapping` . `language_id` LEFT JOIN `sales_channel` `language.salesChannels` ON `language.salesChannels.mapping` . `sales_channel_id` = `language.salesChannels` . `id` WHERE (`language.salesChannelDomains` . `sales_channel_id` = ? AND `language.salesChannels` . `id` = ? ) GROUP BY `language` . `id` ORDER BY MIN (`language` . `name` ) ASC
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `language` . `id` FROM `language` LEFT JOIN `sales_channel_domain` `language.salesChannelDomains` ON `language` . `id` = `language.salesChannelDomains` . `language_id` LEFT JOIN `sales_channel_language` `language.salesChannels.mapping` ON `language` . `id` = `language.salesChannels.mapping` . `language_id` LEFT JOIN `sales_channel` `language.salesChannels` ON `language.salesChannels.mapping` . `sales_channel_id` = `language.salesChannels` . `id` WHERE (`language.salesChannelDomains` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND `language.salesChannels` . `id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE ) GROUP BY `language` . `id` ORDER BY MIN (`language` . `name` ) ASC ;
Copy
93
1.08 ms
SELECT `language` . `id` as `language.id` , `language` . `parent_id` as `language.parentId` , `language` . `locale_id` as `language.localeId` , `language` . `translation_code_id` as `language.translationCodeId` , `language` . `name` as `language.name` , `language` . `custom_fields` as `language.customFields` , `language` . `created_at` as `language.createdAt` , `language` . `updated_at` as `language.updatedAt` , `language.productSearchConfig` . `id` as `language.productSearchConfig.id` , `language.productSearchConfig` . `language_id` as `language.productSearchConfig.languageId` , `language.productSearchConfig` . `and_logic` as `language.productSearchConfig.andLogic` , `language.productSearchConfig` . `min_search_length` as `language.productSearchConfig.minSearchLength` , `language.productSearchConfig` . `excluded_terms` as `language.productSearchConfig.excludedTerms` , `language.productSearchConfig` . `created_at` as `language.productSearchConfig.createdAt` , `language.productSearchConfig` . `updated_at` as `language.productSearchConfig.updatedAt` , `language.translationCode` . `id` as `language.translationCode.id` , `language.translationCode` . `code` as `language.translationCode.code` , `language.translationCode` . `created_at` as `language.translationCode.createdAt` , `language.translationCode` . `updated_at` as `language.translationCode.updatedAt` , `language.translationCode.translation.name` , `language.translationCode.translation.name` as `language.translationCode.name` , `language.translationCode.translation.territory` , `language.translationCode.translation.territory` as `language.translationCode.territory` , `language.translationCode.translation.customFields` , `language.translationCode.translation.customFields` as `language.translationCode.customFields` FROM `language` LEFT JOIN `product_search_config` `language.productSearchConfig` ON `language` . `id` = `language.productSearchConfig` . `language_id` LEFT JOIN `locale` `language.translationCode` ON `language` . `translation_code_id` = `language.translationCode` . `id` LEFT JOIN (SELECT `language.translationCode.translation` . `locale_id` , `language.translationCode.translation` . `name` as `language.translationCode.translation.name` , `language.translationCode.translation` . `territory` as `language.translationCode.translation.territory` , `language.translationCode.translation` . `custom_fields` as `language.translationCode.translation.customFields` FROM `locale_translation` `language.translationCode.translation` WHERE `language.translationCode.translation` . `language_id` = ? ) `language.translationCode.locale_translation` ON `language.translationCode.locale_translation` . `locale_id` = `language.translationCode` . `id` WHERE `language` . `id` IN (? , ? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"Y i²U:JCØ\v xG\x05 k\x15\f "
]
SELECT `language` . `id` as `language.id` , `language` . `parent_id` as `language.parentId` , `language` . `locale_id` as `language.localeId` , `language` . `translation_code_id` as `language.translationCodeId` , `language` . `name` as `language.name` , `language` . `custom_fields` as `language.customFields` , `language` . `created_at` as `language.createdAt` , `language` . `updated_at` as `language.updatedAt` , `language.productSearchConfig` . `id` as `language.productSearchConfig.id` , `language.productSearchConfig` . `language_id` as `language.productSearchConfig.languageId` , `language.productSearchConfig` . `and_logic` as `language.productSearchConfig.andLogic` , `language.productSearchConfig` . `min_search_length` as `language.productSearchConfig.minSearchLength` , `language.productSearchConfig` . `excluded_terms` as `language.productSearchConfig.excludedTerms` , `language.productSearchConfig` . `created_at` as `language.productSearchConfig.createdAt` , `language.productSearchConfig` . `updated_at` as `language.productSearchConfig.updatedAt` , `language.translationCode` . `id` as `language.translationCode.id` , `language.translationCode` . `code` as `language.translationCode.code` , `language.translationCode` . `created_at` as `language.translationCode.createdAt` , `language.translationCode` . `updated_at` as `language.translationCode.updatedAt` , `language.translationCode.translation.name` , `language.translationCode.translation.name` as `language.translationCode.name` , `language.translationCode.translation.territory` , `language.translationCode.translation.territory` as `language.translationCode.territory` , `language.translationCode.translation.customFields` , `language.translationCode.translation.customFields` as `language.translationCode.customFields` FROM `language` LEFT JOIN `product_search_config` `language.productSearchConfig` ON `language` . `id` = `language.productSearchConfig` . `language_id` LEFT JOIN `locale` `language.translationCode` ON `language` . `translation_code_id` = `language.translationCode` . `id` LEFT JOIN (SELECT `language.translationCode.translation` . `locale_id` , `language.translationCode.translation` . `name` as `language.translationCode.translation.name` , `language.translationCode.translation` . `territory` as `language.translationCode.translation.territory` , `language.translationCode.translation` . `custom_fields` as `language.translationCode.translation.customFields` FROM `locale_translation` `language.translationCode.translation` WHERE `language.translationCode.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `language.translationCode.locale_translation` ON `language.translationCode.locale_translation` . `locale_id` = `language.translationCode` . `id` WHERE `language` . `id` IN (0x2FBB5FE2E29A4D70AA5854CE7CE3E20B , 0x59FF69FD553A4A439D0B7847056B150C );
Copy
94
0.69 ms
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = ? OR `parent_id` = ? OR `id` = ?
Parameters :
[
b"é<þ=B¡C\t ”€çZ¯é\x11 p "
b"é<þ=B¡C\t ”€çZ¯é\x11 p "
b"é<þ=B¡C\t ”€çZ¯é\x11 p "
]
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = 0xE93CFE3D42A143099480E75AAFE91170 OR `parent_id` = 0xE93CFE3D42A143099480E75AAFE91170 OR `id` = 0xE93CFE3D42A143099480E75AAFE91170
;
Copy
95
1.90 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND (`category` . `level` > ? AND `category` . `level` < = ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|e93cfe3d42a143099480e75aafe91170|% "
1
4
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
(
`category` . `path` LIKE ?
AND (
`category` . `level` > ?
AND `category` . `level` < = ?
)
)
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|e93cfe3d42a143099480e75aafe91170|%' AND (`category` . `level` > 1 AND `category` . `level` < = 4 )));
Copy
96
0.82 ms
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND `category` . `level` = ? AND `category` . `active` = ? AND `category` . `visible` = ? )) GROUP BY `category` . `parent_id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|e93cfe3d42a143099480e75aafe91170|% "
4
true
true
]
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|e93cfe3d42a143099480e75aafe91170|%' AND `category` . `level` = 4 AND `category` . `active` = 1 AND `category` . `visible` = 1 )) GROUP BY `category` . `parent_id` ;
Copy
97
1.52 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"é<þ=B¡C\t ”€çZ¯é\x11 p "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0xE93CFE3D42A143099480E75AAFE91170 ));
Copy
98
0.84 ms
SELECT `currency` . `id` FROM `currency` LEFT JOIN `sales_channel_currency` `currency.salesChannels.mapping` ON `currency` . `id` = `currency.salesChannels.mapping` . `currency_id` LEFT JOIN `sales_channel` `currency.salesChannels` ON `currency.salesChannels.mapping` . `sales_channel_id` = `currency.salesChannels` . `id` WHERE (`currency.salesChannels` . `id` = ? ) GROUP BY `currency` . `id`
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `currency` . `id` FROM `currency` LEFT JOIN `sales_channel_currency` `currency.salesChannels.mapping` ON `currency` . `id` = `currency.salesChannels.mapping` . `currency_id` LEFT JOIN `sales_channel` `currency.salesChannels` ON `currency.salesChannels.mapping` . `sales_channel_id` = `currency.salesChannels` . `id` WHERE (`currency.salesChannels` . `id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE ) GROUP BY `currency` . `id` ;
Copy
99
0.84 ms
SELECT `currency` . `id` as `currency.id` , `currency` . `factor` as `currency.factor` , `currency` . `symbol` as `currency.symbol` , `currency` . `iso_code` as `currency.isoCode` , `currency` . `position` as `currency.position` , `currency` . `tax_free_from` as `currency.taxFreeFrom` , `currency` . `item_rounding` as `currency.itemRounding` , `currency` . `total_rounding` as `currency.totalRounding` , `currency` . `created_at` as `currency.createdAt` , `currency` . `updated_at` as `currency.updatedAt` , `currency.translation.shortName` , `currency.translation.shortName` as `currency.shortName` , `currency.translation.name` , `currency.translation.name` as `currency.name` , `currency.translation.customFields` , `currency.translation.customFields` as `currency.customFields` FROM `currency` LEFT JOIN (SELECT `currency.translation` . `currency_id` , `currency.translation` . `short_name` as `currency.translation.shortName` , `currency.translation` . `name` as `currency.translation.name` , `currency.translation` . `custom_fields` as `currency.translation.customFields` FROM `currency_translation` `currency.translation` WHERE `currency.translation` . `language_id` = ? ) `currency.currency_translation` ON `currency.currency_translation` . `currency_id` = `currency` . `id` WHERE `currency` . `id` IN (? , ? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"·ÒUK\f èGÍ‚ó¬›ÑÀßÊ "
b"Ã\x11 R}Ü\x12 Où»ËúÒ¼îê; "
]
SELECT `currency` . `id` as `currency.id` , `currency` . `factor` as `currency.factor` , `currency` . `symbol` as `currency.symbol` , `currency` . `iso_code` as `currency.isoCode` , `currency` . `position` as `currency.position` , `currency` . `tax_free_from` as `currency.taxFreeFrom` , `currency` . `item_rounding` as `currency.itemRounding` , `currency` . `total_rounding` as `currency.totalRounding` , `currency` . `created_at` as `currency.createdAt` , `currency` . `updated_at` as `currency.updatedAt` , `currency.translation.shortName` , `currency.translation.shortName` as `currency.shortName` , `currency.translation.name` , `currency.translation.name` as `currency.name` , `currency.translation.customFields` , `currency.translation.customFields` as `currency.customFields` FROM `currency` LEFT JOIN (SELECT `currency.translation` . `currency_id` , `currency.translation` . `short_name` as `currency.translation.shortName` , `currency.translation` . `name` as `currency.translation.name` , `currency.translation` . `custom_fields` as `currency.translation.customFields` FROM `currency_translation` `currency.translation` WHERE `currency.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `currency.currency_translation` ON `currency.currency_translation` . `currency_id` = `currency` . `id` WHERE `currency` . `id` IN (0xB7D2554B0CE847CD82F3AC9BD1C0DFCA , 0xC311527DDC124FF9BBCBFAD2BCEEEA3B );
Copy
100
0.60 ms
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = ? OR `parent_id` = ? OR `id` = ?
Parameters :
[
b"¿‡WùÑ\x11 O¾Œ&F°ƒ×ž "
b"¿‡WùÑ\x11 O¾Œ&F°ƒ×ž "
b"¿‡WùÑ\x11 O¾Œ&F°ƒ×ž "
]
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = 0xBF8757F9D1114FBE8C2646B083D7AD9E OR `parent_id` = 0xBF8757F9D1114FBE8C2646B083D7AD9E OR `id` = 0xBF8757F9D1114FBE8C2646B083D7AD9E
;
Copy
101
1.55 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND (`category` . `level` > ? AND `category` . `level` < = ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|bf8757f9d1114fbe8c2646b083d7ad9e|% "
1
3
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
(
`category` . `path` LIKE ?
AND (
`category` . `level` > ?
AND `category` . `level` < = ?
)
)
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|bf8757f9d1114fbe8c2646b083d7ad9e|%' AND (`category` . `level` > 1 AND `category` . `level` < = 3 )));
Copy
102
0.82 ms
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND `category` . `level` = ? AND `category` . `active` = ? AND `category` . `visible` = ? )) GROUP BY `category` . `parent_id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|bf8757f9d1114fbe8c2646b083d7ad9e|% "
3
true
true
]
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|bf8757f9d1114fbe8c2646b083d7ad9e|%' AND `category` . `level` = 3 AND `category` . `active` = 1 AND `category` . `visible` = 1 )) GROUP BY `category` . `parent_id` ;
Copy
103
1.34 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"¿‡WùÑ\x11 O¾Œ&F°ƒ×ž "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0xBF8757F9D1114FBE8C2646B083D7AD9E ));
Copy
104
0.57 ms
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = ? OR `parent_id` = ? OR `id` = ?
Parameters :
[
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
]
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = 0x16ED238DA7E54B11A5B72244B4DDD984 OR `parent_id` = 0x16ED238DA7E54B11A5B72244B4DDD984 OR `id` = 0x16ED238DA7E54B11A5B72244B4DDD984
;
Copy
105
1.69 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND (`category` . `level` > ? AND `category` . `level` < = ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|16ed238da7e54b11a5b72244b4ddd984|% "
1
4
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
(
`category` . `path` LIKE ?
AND (
`category` . `level` > ?
AND `category` . `level` < = ?
)
)
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|16ed238da7e54b11a5b72244b4ddd984|%' AND (`category` . `level` > 1 AND `category` . `level` < = 4 )));
Copy
106
0.64 ms
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = ? ) AND ((`category` . `path` LIKE ? AND `category` . `level` = ? AND `category` . `active` = ? AND `category` . `visible` = ? )) GROUP BY `category` . `parent_id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
"%|16ed238da7e54b11a5b72244b4ddd984|% "
4
true
true
]
SELECT LOWER (HEX (`category` . `parent_id` )) as `category-ids.key` , COUNT (`category` . `id` ) as `category-ids.count` , COUNT (DISTINCT `category` . `id` ) as `visible-children-count` FROM `category` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`category` . `path` LIKE '%|16ed238da7e54b11a5b72244b4ddd984|%' AND `category` . `level` = 4 AND `category` . `active` = 1 AND `category` . `visible` = 1 )) GROUP BY `category` . `parent_id` ;
Copy
107
1.41 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0x16ED238DA7E54B11A5B72244B4DDD984 ));
Copy
108
0.54 ms
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = ? OR `parent_id` = ? OR `id` = ?
Parameters :
[
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
]
SELECT LOWER (HEX (`id` )), `path` , `level`
FROM `category`
WHERE `id` = 0x1CB6BE58E135471185463195DA1B8429 OR `parent_id` = 0x1CB6BE58E135471185463195DA1B8429 OR `id` = 0x16ED238DA7E54B11A5B72244B4DDD984
;
Copy
109
1.46 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = ? ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
b"\x16 Ý#ìºÕK\x11 ÑÀ"D┤¦┘ä "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.media` . `id` as `category.media.id` ,
`category.media` . `user_id` as `category.media.userId` ,
`category.media` . `media_folder_id` as `category.media.mediaFolderId` ,
`category.media` . `mime_type` as `category.media.mimeType` ,
`category.media` . `file_extension` as `category.media.fileExtension` ,
`category.media` . `uploaded_at` as `category.media.uploadedAt` ,
`category.media` . `file_name` as `category.media.fileName` ,
`category.media` . `file_size` as `category.media.fileSize` ,
`category.media` . `media_type` as `category.media.mediaTypeRaw` ,
`category.media` . `meta_data` as `category.media.metaData` ,
`category.media` . `config` as `category.media.config` ,
`category.media` . `path` as `category.media.path` ,
`category.media` . `private` as `category.media.private` ,
`category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` ,
`category.media` . `created_at` as `category.media.createdAt` ,
`category.media` . `updated_at` as `category.media.updatedAt` ,
`category.media.translation.title` ,
`category.media.translation.title` as `category.media.title` ,
`category.media.translation.alt` ,
`category.media.translation.alt` as `category.media.alt` ,
`category.media.translation.customFields` ,
`category.media.translation.customFields` as `category.media.customFields` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
LEFT JOIN (
SELECT
`category.media.translation` . `media_id` ,
`category.media.translation` . `alt` as `category.media.translation.alt` ,
`category.media.translation` . `title` as `category.media.translation.title` ,
`category.media.translation` . `custom_fields` as `category.media.translation.customFields`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation` . `language_id` = ?
) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? , ? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.media` . `id` as `category.media.id` , `category.media` . `user_id` as `category.media.userId` , `category.media` . `media_folder_id` as `category.media.mediaFolderId` , `category.media` . `mime_type` as `category.media.mimeType` , `category.media` . `file_extension` as `category.media.fileExtension` , `category.media` . `uploaded_at` as `category.media.uploadedAt` , `category.media` . `file_name` as `category.media.fileName` , `category.media` . `file_size` as `category.media.fileSize` , `category.media` . `media_type` as `category.media.mediaTypeRaw` , `category.media` . `meta_data` as `category.media.metaData` , `category.media` . `config` as `category.media.config` , `category.media` . `path` as `category.media.path` , `category.media` . `private` as `category.media.private` , `category.media` . `thumbnails_ro` as `category.media.thumbnailsRo` , `category.media` . `created_at` as `category.media.createdAt` , `category.media` . `updated_at` as `category.media.updatedAt` , `category.media.translation.title` , `category.media.translation.title` as `category.media.title` , `category.media.translation.alt` , `category.media.translation.alt` as `category.media.alt` , `category.media.translation.customFields` , `category.media.translation.customFields` as `category.media.customFields` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN `media` `category.media` ON `category` . `media_id` = `category.media` . `id` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` LEFT JOIN (SELECT `category.media.translation` . `media_id` , `category.media.translation` . `alt` as `category.media.translation.alt` , `category.media.translation` . `title` as `category.media.translation.title` , `category.media.translation` . `custom_fields` as `category.media.translation.customFields` FROM `media_translation` `category.media.translation` WHERE `category.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.media.media_translation` ON `category.media.media_translation` . `media_id` = `category.media` . `id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0x1CB6BE58E135471185463195DA1B8429 , 0x16ED238DA7E54B11A5B72244B4DDD984 ));
Copy
110
1.01 ms
SELECT `shipping_method` . `id` FROM `shipping_method` LEFT JOIN `sales_channel_shipping_method` `shipping_method.salesChannels.mapping` ON `shipping_method` . `id` = `shipping_method.salesChannels.mapping` . `shipping_method_id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = ? ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN `sales_channel` `shipping_method.salesChannels` ON `shipping_method.salesChannels.mapping` . `sales_channel_id` = `shipping_method.salesChannels` . `id` WHERE (`shipping_method` . `active` = ? AND `shipping_method.salesChannels` . `id` = ? ) GROUP BY `shipping_method` . `id` ORDER BY MIN (`shipping_method` . `position` ) ASC , MIN (COALESCE (`shipping_method.translation.name` )) ASC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
true
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `shipping_method` . `id` FROM `shipping_method` LEFT JOIN `sales_channel_shipping_method` `shipping_method.salesChannels.mapping` ON `shipping_method` . `id` = `shipping_method.salesChannels.mapping` . `shipping_method_id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN `sales_channel` `shipping_method.salesChannels` ON `shipping_method.salesChannels.mapping` . `sales_channel_id` = `shipping_method.salesChannels` . `id` WHERE (`shipping_method` . `active` = 1 AND `shipping_method.salesChannels` . `id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE ) GROUP BY `shipping_method` . `id` ORDER BY MIN (`shipping_method` . `position` ) ASC , MIN (COALESCE (`shipping_method.translation.name` )) ASC ;
Copy
111
1.42 ms
SELECT `shipping_method` . `id` as `shipping_method.id` , `shipping_method` . `active` as `shipping_method.active` , `shipping_method` . `position` as `shipping_method.position` , `shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` , `shipping_method` . `media_id` as `shipping_method.mediaId` , `shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` , `shipping_method` . `tax_type` as `shipping_method.taxType` , `shipping_method` . `tax_id` as `shipping_method.taxId` , `shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` , `shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` , `shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` , `shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` , `shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` , `shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` , `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` , `shipping_method.deliveryTime.translation.customFields` , `shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` , `shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` , `shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` , `shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` , `shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` , `shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` , `shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` , `shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` , `shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` , `shipping_method` . `technical_name` as `shipping_method.technicalName` , `shipping_method` . `created_at` as `shipping_method.createdAt` , `shipping_method` . `updated_at` as `shipping_method.updatedAt` , `shipping_method.media` . `id` as `shipping_method.media.id` , `shipping_method.media` . `user_id` as `shipping_method.media.userId` , `shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` , `shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` , `shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` , `shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` , `shipping_method.media` . `file_name` as `shipping_method.media.fileName` , `shipping_method.media` . `file_size` as `shipping_method.media.fileSize` , `shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` , `shipping_method.media` . `meta_data` as `shipping_method.media.metaData` , `shipping_method.media` . `config` as `shipping_method.media.config` , `shipping_method.media` . `path` as `shipping_method.media.path` , `shipping_method.media` . `private` as `shipping_method.media.private` , `shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` , `shipping_method.media` . `created_at` as `shipping_method.media.createdAt` , `shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` , `shipping_method.media.translation.title` , `shipping_method.media.translation.title` as `shipping_method.media.title` , `shipping_method.media.translation.alt` , `shipping_method.media.translation.alt` as `shipping_method.media.alt` , `shipping_method.media.translation.customFields` , `shipping_method.media.translation.customFields` as `shipping_method.media.customFields` , `shipping_method.translation.name` , `shipping_method.translation.name` as `shipping_method.name` , `shipping_method.translation.description` , `shipping_method.translation.description` as `shipping_method.description` , `shipping_method.translation.trackingUrl` , `shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` , `shipping_method.translation.customFields` , `shipping_method.translation.customFields` as `shipping_method.customFields` FROM `shipping_method` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` , `shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` , `shipping_method.translation` . `description` as `shipping_method.translation.description` , `shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = ? ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation` . `delivery_time_id` , `shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation` . `language_id` = ? ) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN (SELECT `shipping_method.media.translation` . `media_id` , `shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` , `shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` , `shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation` . `language_id` = ? ) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id` WHERE `shipping_method` . `id` IN (? , ? , ? , ? , ? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"þTpX”äH'†\x11 &›³6\x19 b "
b"\x01 “%)xÑxE¶Ó\x7F \ëCNä "
b"ˆÒPH¦5FGž°WÁ¬•M’ "
b"\x01 ’vf-+xd”óÚ˜Ùȸ¢ "
b"²C╔ý0\x1E DbÑì¥""╦ÿ÷ "
]
SELECT
`shipping_method` . `id` as `shipping_method.id` ,
`shipping_method` . `active` as `shipping_method.active` ,
`shipping_method` . `position` as `shipping_method.position` ,
`shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` ,
`shipping_method` . `media_id` as `shipping_method.mediaId` ,
`shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` ,
`shipping_method` . `tax_type` as `shipping_method.taxType` ,
`shipping_method` . `tax_id` as `shipping_method.taxId` ,
`shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` ,
`shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` ,
`shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` ,
`shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` ,
`shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` ,
`shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` ,
`shipping_method.deliveryTime.translation.name` ,
`shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` ,
`shipping_method.deliveryTime.translation.customFields` ,
`shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` ,
`shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` ,
`shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` ,
`shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` ,
`shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` ,
`shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` ,
`shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` ,
`shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` ,
`shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` ,
`shipping_method` . `technical_name` as `shipping_method.technicalName` ,
`shipping_method` . `created_at` as `shipping_method.createdAt` ,
`shipping_method` . `updated_at` as `shipping_method.updatedAt` ,
`shipping_method.media` . `id` as `shipping_method.media.id` ,
`shipping_method.media` . `user_id` as `shipping_method.media.userId` ,
`shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` ,
`shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` ,
`shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` ,
`shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` ,
`shipping_method.media` . `file_name` as `shipping_method.media.fileName` ,
`shipping_method.media` . `file_size` as `shipping_method.media.fileSize` ,
`shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` ,
`shipping_method.media` . `meta_data` as `shipping_method.media.metaData` ,
`shipping_method.media` . `config` as `shipping_method.media.config` ,
`shipping_method.media` . `path` as `shipping_method.media.path` ,
`shipping_method.media` . `private` as `shipping_method.media.private` ,
`shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` ,
`shipping_method.media` . `created_at` as `shipping_method.media.createdAt` ,
`shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` ,
`shipping_method.media.translation.title` ,
`shipping_method.media.translation.title` as `shipping_method.media.title` ,
`shipping_method.media.translation.alt` ,
`shipping_method.media.translation.alt` as `shipping_method.media.alt` ,
`shipping_method.media.translation.customFields` ,
`shipping_method.media.translation.customFields` as `shipping_method.media.customFields` ,
`shipping_method.translation.name` ,
`shipping_method.translation.name` as `shipping_method.name` ,
`shipping_method.translation.description` ,
`shipping_method.translation.description` as `shipping_method.description` ,
`shipping_method.translation.trackingUrl` ,
`shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` ,
`shipping_method.translation.customFields` ,
`shipping_method.translation.customFields` as `shipping_method.customFields`
FROM
`shipping_method`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id`
LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id`
LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id`
LEFT JOIN (
SELECT
`shipping_method.translation` . `shipping_method_id` ,
`shipping_method.translation` . `name` as `shipping_method.translation.name` ,
`shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` ,
`shipping_method.translation` . `description` as `shipping_method.translation.description` ,
`shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation` . `language_id` = ?
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation` . `delivery_time_id` ,
`shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` ,
`shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation` . `language_id` = ?
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id`
LEFT JOIN (
SELECT
`shipping_method.media.translation` . `media_id` ,
`shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` ,
`shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` ,
`shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields`
FROM
`media_translation` `shipping_method.media.translation`
WHERE
`shipping_method.media.translation` . `language_id` = ?
) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id`
WHERE
`shipping_method` . `id` IN (? , ? , ? , ? , ? )
Copy
SELECT `shipping_method` . `id` as `shipping_method.id` , `shipping_method` . `active` as `shipping_method.active` , `shipping_method` . `position` as `shipping_method.position` , `shipping_method` . `availability_rule_id` as `shipping_method.availabilityRuleId` , `shipping_method` . `media_id` as `shipping_method.mediaId` , `shipping_method` . `delivery_time_id` as `shipping_method.deliveryTimeId` , `shipping_method` . `tax_type` as `shipping_method.taxType` , `shipping_method` . `tax_id` as `shipping_method.taxId` , `shipping_method.deliveryTime` . `id` as `shipping_method.deliveryTime.id` , `shipping_method.deliveryTime` . `min` as `shipping_method.deliveryTime.min` , `shipping_method.deliveryTime` . `max` as `shipping_method.deliveryTime.max` , `shipping_method.deliveryTime` . `unit` as `shipping_method.deliveryTime.unit` , `shipping_method.deliveryTime` . `created_at` as `shipping_method.deliveryTime.createdAt` , `shipping_method.deliveryTime` . `updated_at` as `shipping_method.deliveryTime.updatedAt` , `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation.name` as `shipping_method.deliveryTime.name` , `shipping_method.deliveryTime.translation.customFields` , `shipping_method.deliveryTime.translation.customFields` as `shipping_method.deliveryTime.customFields` , `shipping_method.appShippingMethod` . `id` as `shipping_method.appShippingMethod.id` , `shipping_method.appShippingMethod` . `app_name` as `shipping_method.appShippingMethod.appName` , `shipping_method.appShippingMethod` . `identifier` as `shipping_method.appShippingMethod.identifier` , `shipping_method.appShippingMethod` . `app_id` as `shipping_method.appShippingMethod.appId` , `shipping_method.appShippingMethod` . `shipping_method_id` as `shipping_method.appShippingMethod.shippingMethodId` , `shipping_method.appShippingMethod` . `original_media_id` as `shipping_method.appShippingMethod.originalMediaId` , `shipping_method.appShippingMethod` . `created_at` as `shipping_method.appShippingMethod.createdAt` , `shipping_method.appShippingMethod` . `updated_at` as `shipping_method.appShippingMethod.updatedAt` , `shipping_method` . `technical_name` as `shipping_method.technicalName` , `shipping_method` . `created_at` as `shipping_method.createdAt` , `shipping_method` . `updated_at` as `shipping_method.updatedAt` , `shipping_method.media` . `id` as `shipping_method.media.id` , `shipping_method.media` . `user_id` as `shipping_method.media.userId` , `shipping_method.media` . `media_folder_id` as `shipping_method.media.mediaFolderId` , `shipping_method.media` . `mime_type` as `shipping_method.media.mimeType` , `shipping_method.media` . `file_extension` as `shipping_method.media.fileExtension` , `shipping_method.media` . `uploaded_at` as `shipping_method.media.uploadedAt` , `shipping_method.media` . `file_name` as `shipping_method.media.fileName` , `shipping_method.media` . `file_size` as `shipping_method.media.fileSize` , `shipping_method.media` . `media_type` as `shipping_method.media.mediaTypeRaw` , `shipping_method.media` . `meta_data` as `shipping_method.media.metaData` , `shipping_method.media` . `config` as `shipping_method.media.config` , `shipping_method.media` . `path` as `shipping_method.media.path` , `shipping_method.media` . `private` as `shipping_method.media.private` , `shipping_method.media` . `thumbnails_ro` as `shipping_method.media.thumbnailsRo` , `shipping_method.media` . `created_at` as `shipping_method.media.createdAt` , `shipping_method.media` . `updated_at` as `shipping_method.media.updatedAt` , `shipping_method.media.translation.title` , `shipping_method.media.translation.title` as `shipping_method.media.title` , `shipping_method.media.translation.alt` , `shipping_method.media.translation.alt` as `shipping_method.media.alt` , `shipping_method.media.translation.customFields` , `shipping_method.media.translation.customFields` as `shipping_method.media.customFields` , `shipping_method.translation.name` , `shipping_method.translation.name` as `shipping_method.name` , `shipping_method.translation.description` , `shipping_method.translation.description` as `shipping_method.description` , `shipping_method.translation.trackingUrl` , `shipping_method.translation.trackingUrl` as `shipping_method.trackingUrl` , `shipping_method.translation.customFields` , `shipping_method.translation.customFields` as `shipping_method.customFields` FROM `shipping_method` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `shipping_method.appShippingMethod` ON `shipping_method` . `id` = `shipping_method.appShippingMethod` . `shipping_method_id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method` . `media_id` = `shipping_method.media` . `id` LEFT JOIN (SELECT `shipping_method.translation` . `shipping_method_id` , `shipping_method.translation` . `name` as `shipping_method.translation.name` , `shipping_method.translation` . `custom_fields` as `shipping_method.translation.customFields` , `shipping_method.translation` . `description` as `shipping_method.translation.description` , `shipping_method.translation` . `tracking_url` as `shipping_method.translation.trackingUrl` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation` . `shipping_method_id` = `shipping_method` . `id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation` . `delivery_time_id` , `shipping_method.deliveryTime.translation` . `name` as `shipping_method.deliveryTime.translation.name` , `shipping_method.deliveryTime.translation` . `custom_fields` as `shipping_method.deliveryTime.translation.customFields` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation` . `delivery_time_id` = `shipping_method.deliveryTime` . `id` LEFT JOIN (SELECT `shipping_method.media.translation` . `media_id` , `shipping_method.media.translation` . `alt` as `shipping_method.media.translation.alt` , `shipping_method.media.translation` . `title` as `shipping_method.media.translation.title` , `shipping_method.media.translation` . `custom_fields` as `shipping_method.media.translation.customFields` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation` . `media_id` = `shipping_method.media` . `id` WHERE `shipping_method` . `id` IN (0xFE54705894E448278611269BB3361962 , 0x0193252978D17845B6D37F5CEB434EE4 , 0x88D25048A63546479EB057C1AC954D92 , 0x019276662D2B786494F3DA98D9C8B8A2 , 0xFD43C9EC301E4462A58DBE2222CB98F6 );
Copy
112
1.04 ms
SELECT `payment_method` . `id` FROM `payment_method` LEFT JOIN `sales_channel_payment_method` `payment_method.salesChannels.mapping` ON `payment_method` . `id` = `payment_method.salesChannels.mapping` . `payment_method_id` LEFT JOIN `sales_channel` `payment_method.salesChannels` ON `payment_method.salesChannels.mapping` . `sales_channel_id` = `payment_method.salesChannels` . `id` WHERE (`payment_method` . `active` = ? AND `payment_method.salesChannels` . `id` = ? ) GROUP BY `payment_method` . `id` ORDER BY MIN (`payment_method` . `position` ) ASC
Parameters :
[
true
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `payment_method` . `id` FROM `payment_method` LEFT JOIN `sales_channel_payment_method` `payment_method.salesChannels.mapping` ON `payment_method` . `id` = `payment_method.salesChannels.mapping` . `payment_method_id` LEFT JOIN `sales_channel` `payment_method.salesChannels` ON `payment_method.salesChannels.mapping` . `sales_channel_id` = `payment_method.salesChannels` . `id` WHERE (`payment_method` . `active` = 1 AND `payment_method.salesChannels` . `id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE ) GROUP BY `payment_method` . `id` ORDER BY MIN (`payment_method` . `position` ) ASC ;
Copy
113
1.50 ms
SELECT `payment_method` . `id` as `payment_method.id` , `payment_method` . `plugin_id` as `payment_method.pluginId` , `payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` , `payment_method` . `position` as `payment_method.position` , `payment_method` . `active` as `payment_method.active` , `payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` , `payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` , `payment_method` . `media_id` as `payment_method.mediaId` , `payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` , `payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` , `payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` , `payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` , `payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` , `payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` , `payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` , `payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` , `payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` , `payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` , `payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` , `payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` , `payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` , `payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` , `payment_method` . `technical_name` as `payment_method.technicalName` , `payment_method` . `created_at` as `payment_method.createdAt` , `payment_method` . `updated_at` as `payment_method.updatedAt` , `payment_method.media` . `id` as `payment_method.media.id` , `payment_method.media` . `user_id` as `payment_method.media.userId` , `payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` , `payment_method.media` . `mime_type` as `payment_method.media.mimeType` , `payment_method.media` . `file_extension` as `payment_method.media.fileExtension` , `payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` , `payment_method.media` . `file_name` as `payment_method.media.fileName` , `payment_method.media` . `file_size` as `payment_method.media.fileSize` , `payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` , `payment_method.media` . `meta_data` as `payment_method.media.metaData` , `payment_method.media` . `config` as `payment_method.media.config` , `payment_method.media` . `path` as `payment_method.media.path` , `payment_method.media` . `private` as `payment_method.media.private` , `payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` , `payment_method.media` . `created_at` as `payment_method.media.createdAt` , `payment_method.media` . `updated_at` as `payment_method.media.updatedAt` , `payment_method.media.translation.title` , `payment_method.media.translation.title` as `payment_method.media.title` , `payment_method.media.translation.alt` , `payment_method.media.translation.alt` as `payment_method.media.alt` , `payment_method.media.translation.customFields` , `payment_method.media.translation.customFields` as `payment_method.media.customFields` , `payment_method.translation.name` , `payment_method.translation.name` as `payment_method.name` , `payment_method.translation.distinguishableName` , `payment_method.translation.distinguishableName` as `payment_method.distinguishableName` , `payment_method.translation.description` , `payment_method.translation.description` as `payment_method.description` , `payment_method.translation.customFields` , `payment_method.translation.customFields` as `payment_method.customFields` FROM `payment_method` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id` LEFT JOIN (SELECT `payment_method.translation` . `payment_method_id` , `payment_method.translation` . `name` as `payment_method.translation.name` , `payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` , `payment_method.translation` . `description` as `payment_method.translation.description` , `payment_method.translation` . `custom_fields` as `payment_method.translation.customFields` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation` . `language_id` = ? ) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id` LEFT JOIN (SELECT `payment_method.media.translation` . `media_id` , `payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` , `payment_method.media.translation` . `title` as `payment_method.media.translation.title` , `payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation` . `language_id` = ? ) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id` WHERE `payment_method` . `id` IN (? , ? , ? , ? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x01 “%(ªNu“›•ï\x17 þf’à "
b"^’\x05\x13\x0E ŸHrªÿ„G¸ò8© "
b"Õá\x06 oŠ#D\x1A ’Ùs¬ãö¬M "
b"lz?,\x1C rEåü³F9├|DÞ "
]
SELECT
`payment_method` . `id` as `payment_method.id` ,
`payment_method` . `plugin_id` as `payment_method.pluginId` ,
`payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` ,
`payment_method` . `position` as `payment_method.position` ,
`payment_method` . `active` as `payment_method.active` ,
`payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` ,
`payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` ,
`payment_method` . `media_id` as `payment_method.mediaId` ,
`payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` ,
`payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` ,
`payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` ,
`payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` ,
`payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` ,
`payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` ,
`payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` ,
`payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` ,
`payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` ,
`payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` ,
`payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` ,
`payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` ,
`payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` ,
`payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` ,
`payment_method` . `technical_name` as `payment_method.technicalName` ,
`payment_method` . `created_at` as `payment_method.createdAt` ,
`payment_method` . `updated_at` as `payment_method.updatedAt` ,
`payment_method.media` . `id` as `payment_method.media.id` ,
`payment_method.media` . `user_id` as `payment_method.media.userId` ,
`payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` ,
`payment_method.media` . `mime_type` as `payment_method.media.mimeType` ,
`payment_method.media` . `file_extension` as `payment_method.media.fileExtension` ,
`payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` ,
`payment_method.media` . `file_name` as `payment_method.media.fileName` ,
`payment_method.media` . `file_size` as `payment_method.media.fileSize` ,
`payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` ,
`payment_method.media` . `meta_data` as `payment_method.media.metaData` ,
`payment_method.media` . `config` as `payment_method.media.config` ,
`payment_method.media` . `path` as `payment_method.media.path` ,
`payment_method.media` . `private` as `payment_method.media.private` ,
`payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` ,
`payment_method.media` . `created_at` as `payment_method.media.createdAt` ,
`payment_method.media` . `updated_at` as `payment_method.media.updatedAt` ,
`payment_method.media.translation.title` ,
`payment_method.media.translation.title` as `payment_method.media.title` ,
`payment_method.media.translation.alt` ,
`payment_method.media.translation.alt` as `payment_method.media.alt` ,
`payment_method.media.translation.customFields` ,
`payment_method.media.translation.customFields` as `payment_method.media.customFields` ,
`payment_method.translation.name` ,
`payment_method.translation.name` as `payment_method.name` ,
`payment_method.translation.distinguishableName` ,
`payment_method.translation.distinguishableName` as `payment_method.distinguishableName` ,
`payment_method.translation.description` ,
`payment_method.translation.description` as `payment_method.description` ,
`payment_method.translation.customFields` ,
`payment_method.translation.customFields` as `payment_method.customFields`
FROM
`payment_method`
LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id`
LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id`
LEFT JOIN (
SELECT
`payment_method.translation` . `payment_method_id` ,
`payment_method.translation` . `name` as `payment_method.translation.name` ,
`payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` ,
`payment_method.translation` . `description` as `payment_method.translation.description` ,
`payment_method.translation` . `custom_fields` as `payment_method.translation.customFields`
FROM
`payment_method_translation` `payment_method.translation`
WHERE
`payment_method.translation` . `language_id` = ?
) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id`
LEFT JOIN (
SELECT
`payment_method.media.translation` . `media_id` ,
`payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` ,
`payment_method.media.translation` . `title` as `payment_method.media.translation.title` ,
`payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields`
FROM
`media_translation` `payment_method.media.translation`
WHERE
`payment_method.media.translation` . `language_id` = ?
) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id`
WHERE
`payment_method` . `id` IN (? , ? , ? , ? )
Copy
SELECT `payment_method` . `id` as `payment_method.id` , `payment_method` . `plugin_id` as `payment_method.pluginId` , `payment_method` . `handler_identifier` as `payment_method.handlerIdentifier` , `payment_method` . `position` as `payment_method.position` , `payment_method` . `active` as `payment_method.active` , `payment_method` . `after_order_enabled` as `payment_method.afterOrderEnabled` , `payment_method` . `availability_rule_id` as `payment_method.availabilityRuleId` , `payment_method` . `media_id` as `payment_method.mediaId` , `payment_method.appPaymentMethod` . `id` as `payment_method.appPaymentMethod.id` , `payment_method.appPaymentMethod` . `app_name` as `payment_method.appPaymentMethod.appName` , `payment_method.appPaymentMethod` . `identifier` as `payment_method.appPaymentMethod.identifier` , `payment_method.appPaymentMethod` . `pay_url` as `payment_method.appPaymentMethod.payUrl` , `payment_method.appPaymentMethod` . `finalize_url` as `payment_method.appPaymentMethod.finalizeUrl` , `payment_method.appPaymentMethod` . `validate_url` as `payment_method.appPaymentMethod.validateUrl` , `payment_method.appPaymentMethod` . `capture_url` as `payment_method.appPaymentMethod.captureUrl` , `payment_method.appPaymentMethod` . `refund_url` as `payment_method.appPaymentMethod.refundUrl` , `payment_method.appPaymentMethod` . `recurring_url` as `payment_method.appPaymentMethod.recurringUrl` , `payment_method.appPaymentMethod` . `app_id` as `payment_method.appPaymentMethod.appId` , `payment_method.appPaymentMethod` . `original_media_id` as `payment_method.appPaymentMethod.originalMediaId` , `payment_method.appPaymentMethod` . `payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId` , `payment_method.appPaymentMethod` . `created_at` as `payment_method.appPaymentMethod.createdAt` , `payment_method.appPaymentMethod` . `updated_at` as `payment_method.appPaymentMethod.updatedAt` , `payment_method` . `technical_name` as `payment_method.technicalName` , `payment_method` . `created_at` as `payment_method.createdAt` , `payment_method` . `updated_at` as `payment_method.updatedAt` , `payment_method.media` . `id` as `payment_method.media.id` , `payment_method.media` . `user_id` as `payment_method.media.userId` , `payment_method.media` . `media_folder_id` as `payment_method.media.mediaFolderId` , `payment_method.media` . `mime_type` as `payment_method.media.mimeType` , `payment_method.media` . `file_extension` as `payment_method.media.fileExtension` , `payment_method.media` . `uploaded_at` as `payment_method.media.uploadedAt` , `payment_method.media` . `file_name` as `payment_method.media.fileName` , `payment_method.media` . `file_size` as `payment_method.media.fileSize` , `payment_method.media` . `media_type` as `payment_method.media.mediaTypeRaw` , `payment_method.media` . `meta_data` as `payment_method.media.metaData` , `payment_method.media` . `config` as `payment_method.media.config` , `payment_method.media` . `path` as `payment_method.media.path` , `payment_method.media` . `private` as `payment_method.media.private` , `payment_method.media` . `thumbnails_ro` as `payment_method.media.thumbnailsRo` , `payment_method.media` . `created_at` as `payment_method.media.createdAt` , `payment_method.media` . `updated_at` as `payment_method.media.updatedAt` , `payment_method.media.translation.title` , `payment_method.media.translation.title` as `payment_method.media.title` , `payment_method.media.translation.alt` , `payment_method.media.translation.alt` as `payment_method.media.alt` , `payment_method.media.translation.customFields` , `payment_method.media.translation.customFields` as `payment_method.media.customFields` , `payment_method.translation.name` , `payment_method.translation.name` as `payment_method.name` , `payment_method.translation.distinguishableName` , `payment_method.translation.distinguishableName` as `payment_method.distinguishableName` , `payment_method.translation.description` , `payment_method.translation.description` as `payment_method.description` , `payment_method.translation.customFields` , `payment_method.translation.customFields` as `payment_method.customFields` FROM `payment_method` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method` . `id` = `payment_method.appPaymentMethod` . `payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method` . `media_id` = `payment_method.media` . `id` LEFT JOIN (SELECT `payment_method.translation` . `payment_method_id` , `payment_method.translation` . `name` as `payment_method.translation.name` , `payment_method.translation` . `distinguishable_name` as `payment_method.translation.distinguishableName` , `payment_method.translation` . `description` as `payment_method.translation.description` , `payment_method.translation` . `custom_fields` as `payment_method.translation.customFields` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation` . `payment_method_id` = `payment_method` . `id` LEFT JOIN (SELECT `payment_method.media.translation` . `media_id` , `payment_method.media.translation` . `alt` as `payment_method.media.translation.alt` , `payment_method.media.translation` . `title` as `payment_method.media.translation.title` , `payment_method.media.translation` . `custom_fields` as `payment_method.media.translation.customFields` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `payment_method.media.media_translation` ON `payment_method.media.media_translation` . `media_id` = `payment_method.media` . `id` WHERE `payment_method` . `id` IN (0x01932528AA4E75939B95EF17FE6692E0 , 0x5E9205130E9F4872AAFF8447B8F238A9 , 0xD5E1066F8A23441A92D973ACE3F6AC4D , 0x6C7A3F2C1C72458681FC4639C37C44E8 );
Copy
114
1.98 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
115
0.68 ms
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND (((`swp_product_options_product_to_options` . `product_id` = ? AND `swp_product_options_product_to_options` . `sales_channel_id` = ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (((`swp_product_options_product_to_options` . `product_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND `swp_product_options_product_to_options` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE )));
Copy
116
1.68 ms
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.option.productoptionsgroup` ON `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ? ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets` `swp_product_options_product_to_options.group.productoptionsset` ON `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` = `swp_product_options_product_to_options.group.productoptionsset` . `id` AND `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` = `swp_product_options_product_to_options.group.productoptionsset` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND ((`swp_product_options_product_to_options` . `product_id` = ? AND (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) = ? OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > ? AND `swp_product_options_product_to_options.option.productoptionsgroup` . `active` = ? AND NOT (`swp_product_options_product_to_options.option.productoptionsoption` . `active` < = > ? )) OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > ? AND `swp_product_options_product_to_options.group.productoptionsgroup` . `active` = ? AND `swp_product_options_product_to_options.option.productoptionsoption` . `active` = ? )))) ORDER BY `swp_product_options_product_to_options.group.productoptionsset` . `position` ASC , `swp_product_options_product_to_options.group` . `position` ASC , `swp_product_options_product_to_options.option` . `position` ASC , COALESCE (`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ) ASC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
"active "
null
"active "
"inactive "
null
"active "
"inherited "
]
SELECT `swp_product_options_product_to_options` . `id` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.option.productoptionsgroup` ON `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.option.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_sets` `swp_product_options_product_to_options.group.productoptionsset` ON `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` = `swp_product_options_product_to_options.group.productoptionsset` . `id` AND `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` = `swp_product_options_product_to_options.group.productoptionsset` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_product_to_options` . `product_id` = 0x018F5247E3737D4A9406FE0BE274B735 AND (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) = 'active' OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > NULL AND `swp_product_options_product_to_options.option.productoptionsgroup` . `active` = 'active' AND NOT (`swp_product_options_product_to_options.option.productoptionsoption` . `active` < = > 'inactive' )) OR (IF (JSON_TYPE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) ! = "NULL" , CONVERT (JSON_UNQUOTE (JSON_EXTRACT (`swp_product_options_product_to_options` . `overwrite` , '$.active' )) USING "utf8mb4" ) COLLATE utf8mb4_unicode_ci , NULL ) < = > NULL AND `swp_product_options_product_to_options.group.productoptionsgroup` . `active` = 'active' AND `swp_product_options_product_to_options.option.productoptionsoption` . `active` = 'inherited' )))) ORDER BY `swp_product_options_product_to_options.group.productoptionsset` . `position` ASC , `swp_product_options_product_to_options.group` . `position` ASC , `swp_product_options_product_to_options.option` . `position` ASC , COALESCE (`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ) ASC ;
Copy
117
2.79 ms
SELECT `swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` , `swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` , `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` , `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` , `swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` , `swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` , `swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` , `swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` , `swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` , `swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` , `swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` , `swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` , `swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` , `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` , `swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` , `swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` , `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` , `swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` , `swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` , `swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` , `swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` , `swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` , `swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` , `swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` , `swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` , `swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` , `swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` , `swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` , `swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` , `swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` , `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` , `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` , `swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` , `swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` , `swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` , `swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` , `swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` , `swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` , `swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` , `swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` , `swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id` ) SEPARATOR '||' )
FROM `swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` ) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation` WHERE `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = ? ) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ? ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = ? ) AND (`swp_product_options_product_to_options` . `id` IN (? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRIa\t q:ö¥Õ!"H´Î "
b"\x01 ÅRIa\t q:ö¥Õ!"`T╩ "
b"""
\x01 ÅRIa\n
p¾Å³4É,&¬à
"""
b"""
\x01 ÅRIa\n
p¾Å³4É,yl1
"""
]
SELECT
`swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` ,
`swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` ,
`swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` ,
`swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` ,
`swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` ,
`swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` ,
`swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` ,
`swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` ,
`swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` ,
`swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` ,
`swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` ,
`swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` ,
`swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` ,
`swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` ,
`swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` ,
`swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` ,
`swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` ,
`swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` ,
`swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` ,
`swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` ,
`swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` ,
`swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` ,
`swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` ,
`swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` ,
`swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` ,
`swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` ,
`swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` ,
`swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` ,
`swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` ,
`swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` ,
(
SELECT
GROUP_CONCAT (
HEX (
`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id`
) SEPARATOR '||'
)
FROM
`swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE
`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription`
FROM
`swp_product_options_product_to_options`
LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id`
AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id`
AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id`
AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN (
SELECT
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` ,
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription`
FROM
`swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation`
WHERE
`swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = ?
) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id`
AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id`
LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id`
LEFT JOIN (
SELECT
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` ,
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription`
FROM
`swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation`
WHERE
`swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = ?
) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id`
AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id`
WHERE
(
`swp_product_options_product_to_options` . `version_id` = ?
)
AND (
`swp_product_options_product_to_options` . `id` IN (? , ? , ? , ? )
)
Copy
SELECT `swp_product_options_product_to_options` . `id` as `swp_product_options_product_to_options.id` , `swp_product_options_product_to_options` . `version_id` as `swp_product_options_product_to_options.versionId` , `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` as `swp_product_options_product_to_options.swpProductOptionsSetsGroupsId` , `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` as `swp_product_options_product_to_options.swpProductOptionsGroupsOptionsId` , `swp_product_options_product_to_options` . `product_id` as `swp_product_options_product_to_options.productId` , `swp_product_options_product_to_options` . `product_version_id` as `swp_product_options_product_to_options.productVersionId` , `swp_product_options_product_to_options` . `overwrite` as `swp_product_options_product_to_options.overwrite` , `swp_product_options_product_to_options` . `created_at` as `swp_product_options_product_to_options.createdAt` , `swp_product_options_product_to_options` . `updated_at` as `swp_product_options_product_to_options.updatedAt` , `swp_product_options_product_to_options` . `sales_channel_id` as `swp_product_options_product_to_options.salesChannelId` , `swp_product_options_product_to_options.group` . `id` as `swp_product_options_product_to_options.group.id` , `swp_product_options_product_to_options.group` . `version_id` as `swp_product_options_product_to_options.group.versionId` , `swp_product_options_product_to_options.group` . `position` as `swp_product_options_product_to_options.group.position` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsId` , `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.group.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.group` . `swp_product_options_sets_version_id` as `swp_product_options_product_to_options.group.swpProductOptionsSetsVersionId` , `swp_product_options_product_to_options.group` . `created_at` as `swp_product_options_product_to_options.group.createdAt` , `swp_product_options_product_to_options.group` . `updated_at` as `swp_product_options_product_to_options.group.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `id` as `swp_product_options_product_to_options.group.productoptionsgroup.id` , `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.versionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `parent_version_id` as `swp_product_options_product_to_options.group.productoptionsgroup.parentVersionId` , `swp_product_options_product_to_options.group.productoptionsgroup` . `field_typ` as `swp_product_options_product_to_options.group.productoptionsgroup.fieldTyp` , `swp_product_options_product_to_options.group.productoptionsgroup` . `required` as `swp_product_options_product_to_options.group.productoptionsgroup.required` , `swp_product_options_product_to_options.group.productoptionsgroup` . `active` as `swp_product_options_product_to_options.group.productoptionsgroup.active` , `swp_product_options_product_to_options.group.productoptionsgroup` . `with_quantity` as `swp_product_options_product_to_options.group.productoptionsgroup.withQuantity` , `swp_product_options_product_to_options.group.productoptionsgroup` . `zoommedia` as `swp_product_options_product_to_options.group.productoptionsgroup.zoommedia` , `swp_product_options_product_to_options.group.productoptionsgroup` . `int_identifier` as `swp_product_options_product_to_options.group.productoptionsgroup.intIdentifier` , `swp_product_options_product_to_options.group.productoptionsgroup` . `additional_class` as `swp_product_options_product_to_options.group.productoptionsgroup.additionalClass` , `swp_product_options_product_to_options.group.productoptionsgroup` . `created_at` as `swp_product_options_product_to_options.group.productoptionsgroup.createdAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `updated_at` as `swp_product_options_product_to_options.group.productoptionsgroup.updatedAt` , `swp_product_options_product_to_options.group.productoptionsgroup` . `swp_product_options_formula_id` as `swp_product_options_product_to_options.group.productoptionsgroup.swpProductOptionsFormulaId` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` as `swp_product_options_product_to_options.group.productoptionsgroup.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` as `swp_product_options_product_to_options.group.productoptionsgroup.longDescription` , `swp_product_options_product_to_options.option` . `id` as `swp_product_options_product_to_options.option.id` , `swp_product_options_product_to_options.option` . `version_id` as `swp_product_options_product_to_options.option.versionId` , `swp_product_options_product_to_options.option` . `position` as `swp_product_options_product_to_options.option.position` , `swp_product_options_product_to_options.option` . `preselection` as `swp_product_options_product_to_options.option.preselection` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsId` , `swp_product_options_product_to_options.option` . `swp_product_options_options_id` as `swp_product_options_product_to_options.option.swpProductOptionsOptionsId` , `swp_product_options_product_to_options.option` . `swp_product_options_groups_version_id` as `swp_product_options_product_to_options.option.swpProductOptionsGroupsVersionId` , `swp_product_options_product_to_options.option` . `created_at` as `swp_product_options_product_to_options.option.createdAt` , `swp_product_options_product_to_options.option` . `updated_at` as `swp_product_options_product_to_options.option.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.id` , `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` as `swp_product_options_product_to_options.option.productoptionsoption.versionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `int_identifier` as `swp_product_options_product_to_options.option.productoptionsoption.intIdentifier` , `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` as `swp_product_options_product_to_options.option.productoptionsoption.taxId` , `swp_product_options_product_to_options.option.productoptionsoption` . `operator` as `swp_product_options_product_to_options.option.productoptionsoption.operator` , `swp_product_options_product_to_options.option.productoptionsoption` . `price` as `swp_product_options_product_to_options.option.productoptionsoption.price` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight_prefix` as `swp_product_options_product_to_options.option.productoptionsoption.weightPrefix` , `swp_product_options_product_to_options.option.productoptionsoption` . `weight` as `swp_product_options_product_to_options.option.productoptionsoption.weight` , `swp_product_options_product_to_options.option.productoptionsoption` . `width` as `swp_product_options_product_to_options.option.productoptionsoption.width` , `swp_product_options_product_to_options.option.productoptionsoption` . `height` as `swp_product_options_product_to_options.option.productoptionsoption.height` , `swp_product_options_product_to_options.option.productoptionsoption` . `length` as `swp_product_options_product_to_options.option.productoptionsoption.length` , `swp_product_options_product_to_options.option.productoptionsoption` . `ordernumber` as `swp_product_options_product_to_options.option.productoptionsoption.ordernumber` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculationart` as `swp_product_options_product_to_options.option.productoptionsoption.calculationart` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_percentprice` as `swp_product_options_product_to_options.option.productoptionsoption.usePercentprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `use_articleprice` as `swp_product_options_product_to_options.option.productoptionsoption.useArticleprice` , `swp_product_options_product_to_options.option.productoptionsoption` . `assignedproducts_count` as `swp_product_options_product_to_options.option.productoptionsoption.assignedproductsCount` , `swp_product_options_product_to_options.option.productoptionsoption` . `calculation` as `swp_product_options_product_to_options.option.productoptionsoption.calculation` , `swp_product_options_product_to_options.option.productoptionsoption` . `input_settings` as `swp_product_options_product_to_options.option.productoptionsoption.inputSettings` , `swp_product_options_product_to_options.option.productoptionsoption` . `active` as `swp_product_options_product_to_options.option.productoptionsoption.active` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_group_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyGroupIds` , `swp_product_options_product_to_options.option.productoptionsoption` . `property_ids` as `swp_product_options_product_to_options.option.productoptionsoption.propertyIds` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` as `swp_product_options_product_to_options.option.productoptionsoption.tax.id` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `tax_rate` as `swp_product_options_product_to_options.option.productoptionsoption.tax.taxRate` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.tax.name` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `position` as `swp_product_options_product_to_options.option.productoptionsoption.tax.position` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.tax.customFields` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption.tax` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.tax.updatedAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_id` as `swp_product_options_product_to_options.option.productoptionsoption.coverId` , `swp_product_options_product_to_options.option.productoptionsoption` . `swp_product_options_options_media_version_id` as `swp_product_options_product_to_options.option.productoptionsoption.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_product_to_options.option.productoptionsoption` . `custom_fields` as `swp_product_options_product_to_options.option.productoptionsoption.customFields` , `swp_product_options_product_to_options.option.productoptionsoption` . `created_at` as `swp_product_options_product_to_options.option.productoptionsoption.createdAt` , `swp_product_options_product_to_options.option.productoptionsoption` . `updated_at` as `swp_product_options_product_to_options.option.productoptionsoption.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_parent_id` ) SEPARATOR '||' )
FROM `swp_product_options_dependencies` `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping`
WHERE `swp_product_options_product_to_options.option.productoptionsoption.childOptions.mapping` . `swp_product_options_options_child_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` ) as `swp_product_options_product_to_options.option.productoptionsoption.childOptions.id_mapping` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.name` as `swp_product_options_product_to_options.option.productoptionsoption.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` as `swp_product_options_product_to_options.option.productoptionsoption.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` as `swp_product_options_product_to_options.option.productoptionsoption.longDescription` FROM `swp_product_options_product_to_options` LEFT JOIN `swp_product_options_sets_groups` `swp_product_options_product_to_options.group` ON `swp_product_options_product_to_options` . `swp_product_options_sets_groups_id` = `swp_product_options_product_to_options.group` . `id` AND `swp_product_options_product_to_options.group` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups_options` `swp_product_options_product_to_options.option` ON `swp_product_options_product_to_options` . `swp_product_options_groups_options_id` = `swp_product_options_product_to_options.option` . `id` AND `swp_product_options_product_to_options.option` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `swp_product_options_groups` `swp_product_options_product_to_options.group.productoptionsgroup` ON `swp_product_options_product_to_options.group` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN (SELECT `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `swp_product_options_groups_version_id` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `name` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.name` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `short_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.shortDescription` , `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `long_description` as `swp_product_options_product_to_options.group.productoptionsgroup.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_product_to_options.group.productoptionsgroup.translation` WHERE `swp_product_options_product_to_options.group.productoptionsgroup.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` ON `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `id` AND `swp_product_options_product_to_options.group.productoptionsgroup.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_product_to_options.group.productoptionsgroup` . `version_id` LEFT JOIN `swp_product_options_options` `swp_product_options_product_to_options.option.productoptionsoption` ON `swp_product_options_product_to_options.option` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `tax` `swp_product_options_product_to_options.option.productoptionsoption.tax` ON `swp_product_options_product_to_options.option.productoptionsoption` . `tax_id` = `swp_product_options_product_to_options.option.productoptionsoption.tax` . `id` LEFT JOIN (SELECT `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `swp_product_options_options_version_id` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `name` as `swp_product_options_product_to_options.option.productoptionsoption.translation.name` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `short_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.shortDescription` , `swp_product_options_product_to_options.option.productoptionsoption.translation` . `long_description` as `swp_product_options_product_to_options.option.productoptionsoption.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_product_to_options.option.productoptionsoption.translation` WHERE `swp_product_options_product_to_options.option.productoptionsoption.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` ON `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `id` AND `swp_product_options_product_to_options.option.productoptionsoption.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_product_to_options.option.productoptionsoption` . `version_id` WHERE (`swp_product_options_product_to_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_product_to_options` . `id` IN (0x018F52496109713A94BEE5212248EFD7 , 0x018F52496109713A94BEE521226054CA , 0x018F5249610A70F38FFC34902C26AA85 , 0x018F5249610A70F38FFC34902C796C31 ));
Copy
118
2.96 ms
SELECT `swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` , `swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` , `swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` , `swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` , `swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` , `swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` , `swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` , `swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` , `swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` , `swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` , `swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` , `swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` , `swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_id` ) as `swp_product_options_options_products.product.manufacturerId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_version_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_version_id` ) as `swp_product_options_options_products.product.productManufacturerVersionId` , COALESCE (`swp_product_options_options_products.product` . `unit_id` , `swp_product_options_options_products.product.parent` . `unit_id` ) as `swp_product_options_options_products.product.unitId` , COALESCE (`swp_product_options_options_products.product` . `tax_id` , `swp_product_options_options_products.product.parent` . `tax_id` ) as `swp_product_options_options_products.product.taxId` , COALESCE (`swp_product_options_options_products.product` . `product_media_id` , `swp_product_options_options_products.product.parent` . `product_media_id` ) as `swp_product_options_options_products.product.coverId` , COALESCE (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) as `swp_product_options_options_products.product.productMediaVersionId` , COALESCE (`swp_product_options_options_products.product` . `delivery_time_id` , `swp_product_options_options_products.product.parent` . `delivery_time_id` ) as `swp_product_options_options_products.product.deliveryTimeId` , COALESCE (`swp_product_options_options_products.product` . `product_feature_set_id` , `swp_product_options_options_products.product.parent` . `product_feature_set_id` ) as `swp_product_options_options_products.product.featureSetId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_id` , `swp_product_options_options_products.product.parent` . `canonical_product_id` ) as `swp_product_options_options_products.product.canonicalProductId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_version_id` , `swp_product_options_options_products.product.parent` . `canonical_product_version_id` ) as `swp_product_options_options_products.product.canonicalProductVersionId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_id` , `swp_product_options_options_products.product.parent` . `cms_page_id` ) as `swp_product_options_options_products.product.cmsPageId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_version_id` , `swp_product_options_options_products.product.parent` . `cms_page_version_id` ) as `swp_product_options_options_products.product.cmsPageVersionId` , `swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` , COALESCE (`swp_product_options_options_products.product` . `price` , `swp_product_options_options_products.product.parent` . `price` ) as `swp_product_options_options_products.product.price` , `swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` , COALESCE (`swp_product_options_options_products.product` . `restock_time` , `swp_product_options_options_products.product.parent` . `restock_time` ) as `swp_product_options_options_products.product.restockTime` , `swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` , COALESCE (`swp_product_options_options_products.product` . `active` , `swp_product_options_options_products.product.parent` . `active` ) as `swp_product_options_options_products.product.active` , `swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` , COALESCE (`swp_product_options_options_products.product` . `is_closeout` , `swp_product_options_options_products.product.parent` . `is_closeout` ) as `swp_product_options_options_products.product.isCloseout` , `swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` , `swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` , `swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` , `swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` , COALESCE (`swp_product_options_options_products.product` . `variant_listing_config` , `swp_product_options_options_products.product.parent` . `variant_listing_config` ) as `swp_product_options_options_products.product.variantListingConfig` , `swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` , COALESCE (`swp_product_options_options_products.product` . `manufacturer_number` , `swp_product_options_options_products.product.parent` . `manufacturer_number` ) as `swp_product_options_options_products.product.manufacturerNumber` , COALESCE (`swp_product_options_options_products.product` . `ean` , `swp_product_options_options_products.product.parent` . `ean` ) as `swp_product_options_options_products.product.ean` , COALESCE (`swp_product_options_options_products.product` . `purchase_steps` , `swp_product_options_options_products.product.parent` . `purchase_steps` ) as `swp_product_options_options_products.product.purchaseSteps` , COALESCE (`swp_product_options_options_products.product` . `max_purchase` , `swp_product_options_options_products.product.parent` . `max_purchase` ) as `swp_product_options_options_products.product.maxPurchase` , COALESCE (`swp_product_options_options_products.product` . `min_purchase` , `swp_product_options_options_products.product.parent` . `min_purchase` ) as `swp_product_options_options_products.product.minPurchase` , COALESCE (`swp_product_options_options_products.product` . `purchase_unit` , `swp_product_options_options_products.product.parent` . `purchase_unit` ) as `swp_product_options_options_products.product.purchaseUnit` , COALESCE (`swp_product_options_options_products.product` . `reference_unit` , `swp_product_options_options_products.product.parent` . `reference_unit` ) as `swp_product_options_options_products.product.referenceUnit` , COALESCE (`swp_product_options_options_products.product` . `shipping_free` , `swp_product_options_options_products.product.parent` . `shipping_free` ) as `swp_product_options_options_products.product.shippingFree` , `swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` , COALESCE (`swp_product_options_options_products.product` . `purchase_prices` , `swp_product_options_options_products.product.parent` . `purchase_prices` ) as `swp_product_options_options_products.product.purchasePrices` , COALESCE (`swp_product_options_options_products.product` . `mark_as_topseller` , `swp_product_options_options_products.product.parent` . `mark_as_topseller` ) as `swp_product_options_options_products.product.markAsTopseller` , COALESCE (`swp_product_options_options_products.product` . `weight` , `swp_product_options_options_products.product.parent` . `weight` ) as `swp_product_options_options_products.product.weight` , COALESCE (`swp_product_options_options_products.product` . `width` , `swp_product_options_options_products.product.parent` . `width` ) as `swp_product_options_options_products.product.width` , COALESCE (`swp_product_options_options_products.product` . `height` , `swp_product_options_options_products.product.parent` . `height` ) as `swp_product_options_options_products.product.height` , COALESCE (`swp_product_options_options_products.product` . `length` , `swp_product_options_options_products.product.parent` . `length` ) as `swp_product_options_options_products.product.length` , COALESCE (`swp_product_options_options_products.product` . `release_date` , `swp_product_options_options_products.product.parent` . `release_date` ) as `swp_product_options_options_products.product.releaseDate` , COALESCE (`swp_product_options_options_products.product` . `rating_average` , `swp_product_options_options_products.product.parent` . `rating_average` ) as `swp_product_options_options_products.product.ratingAverage` , `swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_tree` , `swp_product_options_options_products.product.parent` . `category_tree` ) as `swp_product_options_options_products.product.categoryTree` , `swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `property_ids` , `swp_product_options_options_products.product.parent` . `property_ids` ) as `swp_product_options_options_products.product.propertyIds` , `swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `option_ids` , `swp_product_options_options_products.product.parent` . `option_ids` ) as `swp_product_options_options_products.product.optionIds` , `swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `stream_ids` , `swp_product_options_options_products.product.parent` . `stream_ids` ) as `swp_product_options_options_products.product.streamIds` , `swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `tag_ids` , `swp_product_options_options_products.product.parent` . `tag_ids` ) as `swp_product_options_options_products.product.tagIds` , `swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_ids` , `swp_product_options_options_products.product.parent` . `category_ids` ) as `swp_product_options_options_products.product.categoryIds` , `swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` , COALESCE (`swp_product_options_options_products.product` . `custom_field_set_selection_active` , `swp_product_options_options_products.product.parent` . `custom_field_set_selection_active` ) as `swp_product_options_options_products.product.customFieldSetSelectionActive` , `swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` , `swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` , `swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` , `swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` , `swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` , `swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` , `swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` , `swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` , `swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` , `swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` , `swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` , `swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` , `swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` , `swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` , `swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` , `swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` , `swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` , `swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` , `swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` , `swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` , `swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` , `swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` , `swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` , `swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` , `swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` , `swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` , `swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` , `swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` , `swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` , `swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` , `swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` , `swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` , `swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` , `swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` , `swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` , `swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` , `swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` , `swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` , `swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` , `swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` , `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` , `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` , `swp_product_options_options_products.product.cover.media.translation.customFields` , `swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` , `swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` , `swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` , `swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_options_products.product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `swp_product_options_options_products.product.options.mapping`
WHERE `swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id` ) as `swp_product_options_options_products.product.options.id_mapping` , `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` , COALESCE (`swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` ) as `swp_product_options_options_products.product.metaDescription` , `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` , COALESCE (`swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` ) as `swp_product_options_options_products.product.name` , `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` , COALESCE (`swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` ) as `swp_product_options_options_products.product.keywords` , `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` , COALESCE (`swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` ) as `swp_product_options_options_products.product.description` , `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` , COALESCE (`swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` ) as `swp_product_options_options_products.product.metaTitle` , `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` , COALESCE (`swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` ) as `swp_product_options_options_products.product.packUnit` , `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` , COALESCE (`swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` ) as `swp_product_options_options_products.product.packUnitPlural` , `swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` , COALESCE (`swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` ) as `swp_product_options_options_products.product.customSearchKeywords` , `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` , COALESCE (`swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` ) as `swp_product_options_options_products.product.slotConfig` , `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` , COALESCE (`swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` ) as `swp_product_options_options_products.product.customFields` FROM `swp_product_options_options_products` LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id` AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id` AND IFNULL (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) = `swp_product_options_options_products.product.cover` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.translation` . `product_id` , `swp_product_options_options_products.product.translation` . `product_version_id` , `swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.translation` WHERE `swp_product_options_options_products.product.translation` . `language_id` = ? ) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.parent.translation` . `product_id` , `swp_product_options_options_products.product.parent.translation` . `product_version_id` , `swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` , `swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` , `swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` , `swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` , `swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` , `swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.parent.translation` WHERE `swp_product_options_options_products.product.parent.translation` . `language_id` = ? ) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_products.product.cover.media.translation` . `media_id` , `swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields` FROM `media_translation` `swp_product_options_options_products.product.cover.media.translation` WHERE `swp_product_options_options_products.product.cover.media.translation` . `language_id` = ? ) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` WHERE (`swp_product_options_options_products` . `version_id` = ? ) AND ((`swp_product_options_options_products` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT
`swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` ,
`swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` ,
`swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` ,
`swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` ,
`swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` ,
`swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` ,
`swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` ,
`swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` ,
`swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` ,
`swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` ,
`swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` ,
`swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` ,
`swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_manufacturer_id` ,
`swp_product_options_options_products.product.parent` . `product_manufacturer_id`
) as `swp_product_options_options_products.product.manufacturerId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_manufacturer_version_id` ,
`swp_product_options_options_products.product.parent` . `product_manufacturer_version_id`
) as `swp_product_options_options_products.product.productManufacturerVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `unit_id` ,
`swp_product_options_options_products.product.parent` . `unit_id`
) as `swp_product_options_options_products.product.unitId` ,
COALESCE (
`swp_product_options_options_products.product` . `tax_id` ,
`swp_product_options_options_products.product.parent` . `tax_id`
) as `swp_product_options_options_products.product.taxId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_media_id` ,
`swp_product_options_options_products.product.parent` . `product_media_id`
) as `swp_product_options_options_products.product.coverId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_media_version_id` ,
`swp_product_options_options_products.product.parent` . `product_media_version_id`
) as `swp_product_options_options_products.product.productMediaVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `delivery_time_id` ,
`swp_product_options_options_products.product.parent` . `delivery_time_id`
) as `swp_product_options_options_products.product.deliveryTimeId` ,
COALESCE (
`swp_product_options_options_products.product` . `product_feature_set_id` ,
`swp_product_options_options_products.product.parent` . `product_feature_set_id`
) as `swp_product_options_options_products.product.featureSetId` ,
COALESCE (
`swp_product_options_options_products.product` . `canonical_product_id` ,
`swp_product_options_options_products.product.parent` . `canonical_product_id`
) as `swp_product_options_options_products.product.canonicalProductId` ,
COALESCE (
`swp_product_options_options_products.product` . `canonical_product_version_id` ,
`swp_product_options_options_products.product.parent` . `canonical_product_version_id`
) as `swp_product_options_options_products.product.canonicalProductVersionId` ,
COALESCE (
`swp_product_options_options_products.product` . `cms_page_id` ,
`swp_product_options_options_products.product.parent` . `cms_page_id`
) as `swp_product_options_options_products.product.cmsPageId` ,
COALESCE (
`swp_product_options_options_products.product` . `cms_page_version_id` ,
`swp_product_options_options_products.product.parent` . `cms_page_version_id`
) as `swp_product_options_options_products.product.cmsPageVersionId` ,
`swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `price` ,
`swp_product_options_options_products.product.parent` . `price`
) as `swp_product_options_options_products.product.price` ,
`swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` ,
COALESCE (
`swp_product_options_options_products.product` . `restock_time` ,
`swp_product_options_options_products.product.parent` . `restock_time`
) as `swp_product_options_options_products.product.restockTime` ,
`swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` ,
COALESCE (
`swp_product_options_options_products.product` . `active` ,
`swp_product_options_options_products.product.parent` . `active`
) as `swp_product_options_options_products.product.active` ,
`swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` ,
COALESCE (
`swp_product_options_options_products.product` . `is_closeout` ,
`swp_product_options_options_products.product.parent` . `is_closeout`
) as `swp_product_options_options_products.product.isCloseout` ,
`swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` ,
`swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` ,
`swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` ,
`swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `variant_listing_config` ,
`swp_product_options_options_products.product.parent` . `variant_listing_config`
) as `swp_product_options_options_products.product.variantListingConfig` ,
`swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` ,
COALESCE (
`swp_product_options_options_products.product` . `manufacturer_number` ,
`swp_product_options_options_products.product.parent` . `manufacturer_number`
) as `swp_product_options_options_products.product.manufacturerNumber` ,
COALESCE (
`swp_product_options_options_products.product` . `ean` ,
`swp_product_options_options_products.product.parent` . `ean`
) as `swp_product_options_options_products.product.ean` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_steps` ,
`swp_product_options_options_products.product.parent` . `purchase_steps`
) as `swp_product_options_options_products.product.purchaseSteps` ,
COALESCE (
`swp_product_options_options_products.product` . `max_purchase` ,
`swp_product_options_options_products.product.parent` . `max_purchase`
) as `swp_product_options_options_products.product.maxPurchase` ,
COALESCE (
`swp_product_options_options_products.product` . `min_purchase` ,
`swp_product_options_options_products.product.parent` . `min_purchase`
) as `swp_product_options_options_products.product.minPurchase` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_unit` ,
`swp_product_options_options_products.product.parent` . `purchase_unit`
) as `swp_product_options_options_products.product.purchaseUnit` ,
COALESCE (
`swp_product_options_options_products.product` . `reference_unit` ,
`swp_product_options_options_products.product.parent` . `reference_unit`
) as `swp_product_options_options_products.product.referenceUnit` ,
COALESCE (
`swp_product_options_options_products.product` . `shipping_free` ,
`swp_product_options_options_products.product.parent` . `shipping_free`
) as `swp_product_options_options_products.product.shippingFree` ,
`swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `purchase_prices` ,
`swp_product_options_options_products.product.parent` . `purchase_prices`
) as `swp_product_options_options_products.product.purchasePrices` ,
COALESCE (
`swp_product_options_options_products.product` . `mark_as_topseller` ,
`swp_product_options_options_products.product.parent` . `mark_as_topseller`
) as `swp_product_options_options_products.product.markAsTopseller` ,
COALESCE (
`swp_product_options_options_products.product` . `weight` ,
`swp_product_options_options_products.product.parent` . `weight`
) as `swp_product_options_options_products.product.weight` ,
COALESCE (
`swp_product_options_options_products.product` . `width` ,
`swp_product_options_options_products.product.parent` . `width`
) as `swp_product_options_options_products.product.width` ,
COALESCE (
`swp_product_options_options_products.product` . `height` ,
`swp_product_options_options_products.product.parent` . `height`
) as `swp_product_options_options_products.product.height` ,
COALESCE (
`swp_product_options_options_products.product` . `length` ,
`swp_product_options_options_products.product.parent` . `length`
) as `swp_product_options_options_products.product.length` ,
COALESCE (
`swp_product_options_options_products.product` . `release_date` ,
`swp_product_options_options_products.product.parent` . `release_date`
) as `swp_product_options_options_products.product.releaseDate` ,
COALESCE (
`swp_product_options_options_products.product` . `rating_average` ,
`swp_product_options_options_products.product.parent` . `rating_average`
) as `swp_product_options_options_products.product.ratingAverage` ,
`swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `category_tree` ,
`swp_product_options_options_products.product.parent` . `category_tree`
) as `swp_product_options_options_products.product.categoryTree` ,
`swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `property_ids` ,
`swp_product_options_options_products.product.parent` . `property_ids`
) as `swp_product_options_options_products.product.propertyIds` ,
`swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `option_ids` ,
`swp_product_options_options_products.product.parent` . `option_ids`
) as `swp_product_options_options_products.product.optionIds` ,
`swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `stream_ids` ,
`swp_product_options_options_products.product.parent` . `stream_ids`
) as `swp_product_options_options_products.product.streamIds` ,
`swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `tag_ids` ,
`swp_product_options_options_products.product.parent` . `tag_ids`
) as `swp_product_options_options_products.product.tagIds` ,
`swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` ,
COALESCE (
`swp_product_options_options_products.product` . `category_ids` ,
`swp_product_options_options_products.product.parent` . `category_ids`
) as `swp_product_options_options_products.product.categoryIds` ,
`swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` ,
COALESCE (
`swp_product_options_options_products.product` . `custom_field_set_selection_active` ,
`swp_product_options_options_products.product.parent` . `custom_field_set_selection_active`
) as `swp_product_options_options_products.product.customFieldSetSelectionActive` ,
`swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` ,
`swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` ,
`swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` ,
`swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` ,
`swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` ,
`swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` ,
`swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` ,
`swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` ,
`swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` ,
`swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` ,
`swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` ,
`swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` ,
`swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` ,
`swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` ,
`swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` ,
`swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` ,
`swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` ,
`swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` ,
`swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` ,
`swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` ,
`swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` ,
`swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` ,
`swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` ,
`swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` ,
`swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` ,
`swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` ,
`swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` ,
`swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` ,
`swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` ,
`swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` ,
`swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` ,
`swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` ,
`swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` ,
`swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` ,
`swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` ,
`swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` ,
`swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` ,
`swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` ,
`swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` ,
`swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` ,
`swp_product_options_options_products.product.cover.media.translation.title` ,
`swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` ,
`swp_product_options_options_products.product.cover.media.translation.alt` ,
`swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` ,
`swp_product_options_options_products.product.cover.media.translation.customFields` ,
`swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` ,
`swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` ,
`swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` ,
`swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` ,
(
SELECT
GROUP_CONCAT (
HEX (
`swp_product_options_options_products.product.options.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `swp_product_options_options_products.product.options.mapping`
WHERE
`swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id`
) as `swp_product_options_options_products.product.options.id_mapping` ,
`swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation.metaDescription` ,
COALESCE (
`swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation.metaDescription`
) as `swp_product_options_options_products.product.metaDescription` ,
`swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.parent.translation.name` ,
COALESCE (
`swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.parent.translation.name`
) as `swp_product_options_options_products.product.name` ,
`swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation.keywords` ,
COALESCE (
`swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation.keywords`
) as `swp_product_options_options_products.product.keywords` ,
`swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.parent.translation.description` ,
COALESCE (
`swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.parent.translation.description`
) as `swp_product_options_options_products.product.description` ,
`swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation.metaTitle` ,
COALESCE (
`swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation.metaTitle`
) as `swp_product_options_options_products.product.metaTitle` ,
`swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation.packUnit` ,
COALESCE (
`swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation.packUnit`
) as `swp_product_options_options_products.product.packUnit` ,
`swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation.packUnitPlural` ,
COALESCE (
`swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation.packUnitPlural`
) as `swp_product_options_options_products.product.packUnitPlural` ,
`swp_product_options_options_products.product.translation.customSearchKeywords` ,
`swp_product_options_options_products.product.parent.translation.customSearchKeywords` ,
COALESCE (
`swp_product_options_options_products.product.translation.customSearchKeywords` ,
`swp_product_options_options_products.product.parent.translation.customSearchKeywords`
) as `swp_product_options_options_products.product.customSearchKeywords` ,
`swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation.slotConfig` ,
COALESCE (
`swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation.slotConfig`
) as `swp_product_options_options_products.product.slotConfig` ,
`swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation.customFields` ,
COALESCE (
`swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation.customFields`
) as `swp_product_options_options_products.product.customFields`
FROM
`swp_product_options_options_products`
LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id`
AND `swp_product_options_options_products.product` . `version_id` = UNHEX (
"0fa91ce3e96a4bc2be4bd9ce752c3425"
)
LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id`
AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id`
LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id`
AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id`
LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id`
AND IFNULL (
`swp_product_options_options_products.product` . `product_media_version_id` ,
`swp_product_options_options_products.product.parent` . `product_media_version_id`
) = `swp_product_options_options_products.product.cover` . `version_id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.translation` . `product_id` ,
`swp_product_options_options_products.product.translation` . `product_version_id` ,
`swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` ,
`swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` ,
`swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` ,
`swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` ,
`swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` ,
`swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` ,
`swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` ,
`swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` ,
`swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` ,
`swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords`
FROM
`product_translation` `swp_product_options_options_products.product.translation`
WHERE
`swp_product_options_options_products.product.translation` . `language_id` = ?
) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id`
AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.parent.translation` . `product_id` ,
`swp_product_options_options_products.product.parent.translation` . `product_version_id` ,
`swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` ,
`swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` ,
`swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` ,
`swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` ,
`swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` ,
`swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` ,
`swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` ,
`swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` ,
`swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` ,
`swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords`
FROM
`product_translation` `swp_product_options_options_products.product.parent.translation`
WHERE
`swp_product_options_options_products.product.parent.translation` . `language_id` = ?
) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id`
AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id`
LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id`
LEFT JOIN (
SELECT
`swp_product_options_options_products.product.cover.media.translation` . `media_id` ,
`swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` ,
`swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` ,
`swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields`
FROM
`media_translation` `swp_product_options_options_products.product.cover.media.translation`
WHERE
`swp_product_options_options_products.product.cover.media.translation` . `language_id` = ?
) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id`
WHERE
(
`swp_product_options_options_products` . `version_id` = ?
)
AND (
(
`swp_product_options_options_products` . `swp_product_options_options_id` IN (? , ? , ? , ? )
)
)
Copy
SELECT `swp_product_options_options_products` . `id` as `swp_product_options_options_products.id` , `swp_product_options_options_products` . `version_id` as `swp_product_options_options_products.versionId` , `swp_product_options_options_products` . `get_siblings` as `swp_product_options_options_products.getSiblings` , `swp_product_options_options_products` . `quantity` as `swp_product_options_options_products.quantity` , `swp_product_options_options_products` . `swp_product_options_options_id` as `swp_product_options_options_products.swpProductOptionsOptionsId` , `swp_product_options_options_products` . `product_id` as `swp_product_options_options_products.productId` , `swp_product_options_options_products` . `swp_product_options_options_version_id` as `swp_product_options_options_products.swpProductOptionsOptionsVersionId` , `swp_product_options_options_products` . `created_at` as `swp_product_options_options_products.createdAt` , `swp_product_options_options_products` . `updated_at` as `swp_product_options_options_products.updatedAt` , `swp_product_options_options_products.product` . `id` as `swp_product_options_options_products.product.id` , `swp_product_options_options_products.product` . `version_id` as `swp_product_options_options_products.product.versionId` , `swp_product_options_options_products.product` . `parent_id` as `swp_product_options_options_products.product.parentId` , `swp_product_options_options_products.product` . `parent_version_id` as `swp_product_options_options_products.product.parentVersionId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_id` ) as `swp_product_options_options_products.product.manufacturerId` , COALESCE (`swp_product_options_options_products.product` . `product_manufacturer_version_id` , `swp_product_options_options_products.product.parent` . `product_manufacturer_version_id` ) as `swp_product_options_options_products.product.productManufacturerVersionId` , COALESCE (`swp_product_options_options_products.product` . `unit_id` , `swp_product_options_options_products.product.parent` . `unit_id` ) as `swp_product_options_options_products.product.unitId` , COALESCE (`swp_product_options_options_products.product` . `tax_id` , `swp_product_options_options_products.product.parent` . `tax_id` ) as `swp_product_options_options_products.product.taxId` , COALESCE (`swp_product_options_options_products.product` . `product_media_id` , `swp_product_options_options_products.product.parent` . `product_media_id` ) as `swp_product_options_options_products.product.coverId` , COALESCE (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) as `swp_product_options_options_products.product.productMediaVersionId` , COALESCE (`swp_product_options_options_products.product` . `delivery_time_id` , `swp_product_options_options_products.product.parent` . `delivery_time_id` ) as `swp_product_options_options_products.product.deliveryTimeId` , COALESCE (`swp_product_options_options_products.product` . `product_feature_set_id` , `swp_product_options_options_products.product.parent` . `product_feature_set_id` ) as `swp_product_options_options_products.product.featureSetId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_id` , `swp_product_options_options_products.product.parent` . `canonical_product_id` ) as `swp_product_options_options_products.product.canonicalProductId` , COALESCE (`swp_product_options_options_products.product` . `canonical_product_version_id` , `swp_product_options_options_products.product.parent` . `canonical_product_version_id` ) as `swp_product_options_options_products.product.canonicalProductVersionId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_id` , `swp_product_options_options_products.product.parent` . `cms_page_id` ) as `swp_product_options_options_products.product.cmsPageId` , COALESCE (`swp_product_options_options_products.product` . `cms_page_version_id` , `swp_product_options_options_products.product.parent` . `cms_page_version_id` ) as `swp_product_options_options_products.product.cmsPageVersionId` , `swp_product_options_options_products.product.parent` . `price` as `swp_product_options_options_products.product.price.inherited` , COALESCE (`swp_product_options_options_products.product` . `price` , `swp_product_options_options_products.product.parent` . `price` ) as `swp_product_options_options_products.product.price` , `swp_product_options_options_products.product` . `product_number` as `swp_product_options_options_products.product.productNumber` , COALESCE (`swp_product_options_options_products.product` . `restock_time` , `swp_product_options_options_products.product.parent` . `restock_time` ) as `swp_product_options_options_products.product.restockTime` , `swp_product_options_options_products.product` . `auto_increment` as `swp_product_options_options_products.product.autoIncrement` , COALESCE (`swp_product_options_options_products.product` . `active` , `swp_product_options_options_products.product.parent` . `active` ) as `swp_product_options_options_products.product.active` , `swp_product_options_options_products.product` . `available` as `swp_product_options_options_products.product.available` , COALESCE (`swp_product_options_options_products.product` . `is_closeout` , `swp_product_options_options_products.product.parent` . `is_closeout` ) as `swp_product_options_options_products.product.isCloseout` , `swp_product_options_options_products.product` . `available_stock` as `swp_product_options_options_products.product.availableStock` , `swp_product_options_options_products.product` . `stock` as `swp_product_options_options_products.product.stock` , `swp_product_options_options_products.product` . `display_group` as `swp_product_options_options_products.product.displayGroup` , `swp_product_options_options_products.product.parent` . `variant_listing_config` as `swp_product_options_options_products.product.variantListingConfig.inherited` , COALESCE (`swp_product_options_options_products.product` . `variant_listing_config` , `swp_product_options_options_products.product.parent` . `variant_listing_config` ) as `swp_product_options_options_products.product.variantListingConfig` , `swp_product_options_options_products.product` . `variant_restrictions` as `swp_product_options_options_products.product.variantRestrictions` , COALESCE (`swp_product_options_options_products.product` . `manufacturer_number` , `swp_product_options_options_products.product.parent` . `manufacturer_number` ) as `swp_product_options_options_products.product.manufacturerNumber` , COALESCE (`swp_product_options_options_products.product` . `ean` , `swp_product_options_options_products.product.parent` . `ean` ) as `swp_product_options_options_products.product.ean` , COALESCE (`swp_product_options_options_products.product` . `purchase_steps` , `swp_product_options_options_products.product.parent` . `purchase_steps` ) as `swp_product_options_options_products.product.purchaseSteps` , COALESCE (`swp_product_options_options_products.product` . `max_purchase` , `swp_product_options_options_products.product.parent` . `max_purchase` ) as `swp_product_options_options_products.product.maxPurchase` , COALESCE (`swp_product_options_options_products.product` . `min_purchase` , `swp_product_options_options_products.product.parent` . `min_purchase` ) as `swp_product_options_options_products.product.minPurchase` , COALESCE (`swp_product_options_options_products.product` . `purchase_unit` , `swp_product_options_options_products.product.parent` . `purchase_unit` ) as `swp_product_options_options_products.product.purchaseUnit` , COALESCE (`swp_product_options_options_products.product` . `reference_unit` , `swp_product_options_options_products.product.parent` . `reference_unit` ) as `swp_product_options_options_products.product.referenceUnit` , COALESCE (`swp_product_options_options_products.product` . `shipping_free` , `swp_product_options_options_products.product.parent` . `shipping_free` ) as `swp_product_options_options_products.product.shippingFree` , `swp_product_options_options_products.product.parent` . `purchase_prices` as `swp_product_options_options_products.product.purchasePrices.inherited` , COALESCE (`swp_product_options_options_products.product` . `purchase_prices` , `swp_product_options_options_products.product.parent` . `purchase_prices` ) as `swp_product_options_options_products.product.purchasePrices` , COALESCE (`swp_product_options_options_products.product` . `mark_as_topseller` , `swp_product_options_options_products.product.parent` . `mark_as_topseller` ) as `swp_product_options_options_products.product.markAsTopseller` , COALESCE (`swp_product_options_options_products.product` . `weight` , `swp_product_options_options_products.product.parent` . `weight` ) as `swp_product_options_options_products.product.weight` , COALESCE (`swp_product_options_options_products.product` . `width` , `swp_product_options_options_products.product.parent` . `width` ) as `swp_product_options_options_products.product.width` , COALESCE (`swp_product_options_options_products.product` . `height` , `swp_product_options_options_products.product.parent` . `height` ) as `swp_product_options_options_products.product.height` , COALESCE (`swp_product_options_options_products.product` . `length` , `swp_product_options_options_products.product.parent` . `length` ) as `swp_product_options_options_products.product.length` , COALESCE (`swp_product_options_options_products.product` . `release_date` , `swp_product_options_options_products.product.parent` . `release_date` ) as `swp_product_options_options_products.product.releaseDate` , COALESCE (`swp_product_options_options_products.product` . `rating_average` , `swp_product_options_options_products.product.parent` . `rating_average` ) as `swp_product_options_options_products.product.ratingAverage` , `swp_product_options_options_products.product.parent` . `category_tree` as `swp_product_options_options_products.product.categoryTree.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_tree` , `swp_product_options_options_products.product.parent` . `category_tree` ) as `swp_product_options_options_products.product.categoryTree` , `swp_product_options_options_products.product.parent` . `property_ids` as `swp_product_options_options_products.product.propertyIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `property_ids` , `swp_product_options_options_products.product.parent` . `property_ids` ) as `swp_product_options_options_products.product.propertyIds` , `swp_product_options_options_products.product.parent` . `option_ids` as `swp_product_options_options_products.product.optionIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `option_ids` , `swp_product_options_options_products.product.parent` . `option_ids` ) as `swp_product_options_options_products.product.optionIds` , `swp_product_options_options_products.product.parent` . `stream_ids` as `swp_product_options_options_products.product.streamIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `stream_ids` , `swp_product_options_options_products.product.parent` . `stream_ids` ) as `swp_product_options_options_products.product.streamIds` , `swp_product_options_options_products.product.parent` . `tag_ids` as `swp_product_options_options_products.product.tagIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `tag_ids` , `swp_product_options_options_products.product.parent` . `tag_ids` ) as `swp_product_options_options_products.product.tagIds` , `swp_product_options_options_products.product.parent` . `category_ids` as `swp_product_options_options_products.product.categoryIds.inherited` , COALESCE (`swp_product_options_options_products.product` . `category_ids` , `swp_product_options_options_products.product.parent` . `category_ids` ) as `swp_product_options_options_products.product.categoryIds` , `swp_product_options_options_products.product` . `child_count` as `swp_product_options_options_products.product.childCount` , COALESCE (`swp_product_options_options_products.product` . `custom_field_set_selection_active` , `swp_product_options_options_products.product.parent` . `custom_field_set_selection_active` ) as `swp_product_options_options_products.product.customFieldSetSelectionActive` , `swp_product_options_options_products.product` . `sales` as `swp_product_options_options_products.product.sales` , `swp_product_options_options_products.product` . `states` as `swp_product_options_options_products.product.states` , `swp_product_options_options_products.product.tax` . `id` as `swp_product_options_options_products.product.tax.id` , `swp_product_options_options_products.product.tax` . `tax_rate` as `swp_product_options_options_products.product.tax.taxRate` , `swp_product_options_options_products.product.tax` . `name` as `swp_product_options_options_products.product.tax.name` , `swp_product_options_options_products.product.tax` . `position` as `swp_product_options_options_products.product.tax.position` , `swp_product_options_options_products.product.tax` . `custom_fields` as `swp_product_options_options_products.product.tax.customFields` , `swp_product_options_options_products.product.tax` . `created_at` as `swp_product_options_options_products.product.tax.createdAt` , `swp_product_options_options_products.product.tax` . `updated_at` as `swp_product_options_options_products.product.tax.updatedAt` , `swp_product_options_options_products.product` . `created_at` as `swp_product_options_options_products.product.createdAt` , `swp_product_options_options_products.product` . `updated_at` as `swp_product_options_options_products.product.updatedAt` , `swp_product_options_options_products.product.productoptionsSettings` . `id` as `swp_product_options_options_products.product.productoptionsSettings.id` , `swp_product_options_options_products.product.productoptionsSettings` . `version_id` as `swp_product_options_options_products.product.productoptionsSettings.versionId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_id` as `swp_product_options_options_products.product.productoptionsSettings.productId` , `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` as `swp_product_options_options_products.product.productoptionsSettings.productVersionId` , `swp_product_options_options_products.product.productoptionsSettings` . `has_options` as `swp_product_options_options_products.product.productoptionsSettings.hasOptions` , `swp_product_options_options_products.product.productoptionsSettings` . `custom_view` as `swp_product_options_options_products.product.productoptionsSettings.customView` , `swp_product_options_options_products.product.productoptionsSettings` . `inherited` as `swp_product_options_options_products.product.productoptionsSettings.inherited` , `swp_product_options_options_products.product.productoptionsSettings` . `created_at` as `swp_product_options_options_products.product.productoptionsSettings.createdAt` , `swp_product_options_options_products.product.productoptionsSettings` . `updated_at` as `swp_product_options_options_products.product.productoptionsSettings.updatedAt` , `swp_product_options_options_products.product.cover` . `id` as `swp_product_options_options_products.product.cover.id` , `swp_product_options_options_products.product.cover` . `version_id` as `swp_product_options_options_products.product.cover.versionId` , `swp_product_options_options_products.product.cover` . `product_id` as `swp_product_options_options_products.product.cover.productId` , `swp_product_options_options_products.product.cover` . `product_version_id` as `swp_product_options_options_products.product.cover.productVersionId` , `swp_product_options_options_products.product.cover` . `media_id` as `swp_product_options_options_products.product.cover.mediaId` , `swp_product_options_options_products.product.cover` . `position` as `swp_product_options_options_products.product.cover.position` , `swp_product_options_options_products.product.cover.media` . `id` as `swp_product_options_options_products.product.cover.media.id` , `swp_product_options_options_products.product.cover.media` . `user_id` as `swp_product_options_options_products.product.cover.media.userId` , `swp_product_options_options_products.product.cover.media` . `media_folder_id` as `swp_product_options_options_products.product.cover.media.mediaFolderId` , `swp_product_options_options_products.product.cover.media` . `mime_type` as `swp_product_options_options_products.product.cover.media.mimeType` , `swp_product_options_options_products.product.cover.media` . `file_extension` as `swp_product_options_options_products.product.cover.media.fileExtension` , `swp_product_options_options_products.product.cover.media` . `uploaded_at` as `swp_product_options_options_products.product.cover.media.uploadedAt` , `swp_product_options_options_products.product.cover.media` . `file_name` as `swp_product_options_options_products.product.cover.media.fileName` , `swp_product_options_options_products.product.cover.media` . `file_size` as `swp_product_options_options_products.product.cover.media.fileSize` , `swp_product_options_options_products.product.cover.media` . `media_type` as `swp_product_options_options_products.product.cover.media.mediaTypeRaw` , `swp_product_options_options_products.product.cover.media` . `meta_data` as `swp_product_options_options_products.product.cover.media.metaData` , `swp_product_options_options_products.product.cover.media` . `config` as `swp_product_options_options_products.product.cover.media.config` , `swp_product_options_options_products.product.cover.media` . `path` as `swp_product_options_options_products.product.cover.media.path` , `swp_product_options_options_products.product.cover.media` . `private` as `swp_product_options_options_products.product.cover.media.private` , `swp_product_options_options_products.product.cover.media` . `thumbnails_ro` as `swp_product_options_options_products.product.cover.media.thumbnailsRo` , `swp_product_options_options_products.product.cover.media` . `created_at` as `swp_product_options_options_products.product.cover.media.createdAt` , `swp_product_options_options_products.product.cover.media` . `updated_at` as `swp_product_options_options_products.product.cover.media.updatedAt` , `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation.title` as `swp_product_options_options_products.product.cover.media.title` , `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation.alt` as `swp_product_options_options_products.product.cover.media.alt` , `swp_product_options_options_products.product.cover.media.translation.customFields` , `swp_product_options_options_products.product.cover.media.translation.customFields` as `swp_product_options_options_products.product.cover.media.customFields` , `swp_product_options_options_products.product.cover` . `custom_fields` as `swp_product_options_options_products.product.cover.customFields` , `swp_product_options_options_products.product.cover` . `created_at` as `swp_product_options_options_products.product.cover.createdAt` , `swp_product_options_options_products.product.cover` . `updated_at` as `swp_product_options_options_products.product.cover.updatedAt` , (SELECT GROUP_CONCAT (HEX (`swp_product_options_options_products.product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `swp_product_options_options_products.product.options.mapping`
WHERE `swp_product_options_options_products.product.options.mapping` . `product_id` = `swp_product_options_options_products.product` . `id` ) as `swp_product_options_options_products.product.options.id_mapping` , `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` , COALESCE (`swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation.metaDescription` ) as `swp_product_options_options_products.product.metaDescription` , `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` , COALESCE (`swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.parent.translation.name` ) as `swp_product_options_options_products.product.name` , `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` , COALESCE (`swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.parent.translation.keywords` ) as `swp_product_options_options_products.product.keywords` , `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` , COALESCE (`swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.parent.translation.description` ) as `swp_product_options_options_products.product.description` , `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` , COALESCE (`swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation.metaTitle` ) as `swp_product_options_options_products.product.metaTitle` , `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` , COALESCE (`swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.parent.translation.packUnit` ) as `swp_product_options_options_products.product.packUnit` , `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` , COALESCE (`swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation.packUnitPlural` ) as `swp_product_options_options_products.product.packUnitPlural` , `swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` , COALESCE (`swp_product_options_options_products.product.translation.customSearchKeywords` , `swp_product_options_options_products.product.parent.translation.customSearchKeywords` ) as `swp_product_options_options_products.product.customSearchKeywords` , `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` , COALESCE (`swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation.slotConfig` ) as `swp_product_options_options_products.product.slotConfig` , `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` , COALESCE (`swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.parent.translation.customFields` ) as `swp_product_options_options_products.product.customFields` FROM `swp_product_options_options_products` LEFT JOIN `product` `swp_product_options_options_products.product` ON `swp_product_options_options_products` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product` . `version_id` = UNHEX ("0fa91ce3e96a4bc2be4bd9ce752c3425" ) LEFT JOIN `product` `swp_product_options_options_products.product.parent` ON `swp_product_options_options_products.product` . `parent_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product` . `parent_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `tax` `swp_product_options_options_products.product.tax` ON `swp_product_options_options_products.product` . `tax` = `swp_product_options_options_products.product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `swp_product_options_options_products.product.productoptionsSettings` ON `swp_product_options_options_products.product` . `id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_id` AND `swp_product_options_options_products.product` . `version_id` = `swp_product_options_options_products.product.productoptionsSettings` . `product_version_id` LEFT JOIN `product_media` `swp_product_options_options_products.product.cover` ON `swp_product_options_options_products.product` . `cover` = `swp_product_options_options_products.product.cover` . `id` AND IFNULL (`swp_product_options_options_products.product` . `product_media_version_id` , `swp_product_options_options_products.product.parent` . `product_media_version_id` ) = `swp_product_options_options_products.product.cover` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.translation` . `product_id` , `swp_product_options_options_products.product.translation` . `product_version_id` , `swp_product_options_options_products.product.translation` . `meta_description` as `swp_product_options_options_products.product.translation.metaDescription` , `swp_product_options_options_products.product.translation` . `name` as `swp_product_options_options_products.product.translation.name` , `swp_product_options_options_products.product.translation` . `keywords` as `swp_product_options_options_products.product.translation.keywords` , `swp_product_options_options_products.product.translation` . `description` as `swp_product_options_options_products.product.translation.description` , `swp_product_options_options_products.product.translation` . `meta_title` as `swp_product_options_options_products.product.translation.metaTitle` , `swp_product_options_options_products.product.translation` . `pack_unit` as `swp_product_options_options_products.product.translation.packUnit` , `swp_product_options_options_products.product.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.translation.packUnitPlural` , `swp_product_options_options_products.product.translation` . `custom_fields` as `swp_product_options_options_products.product.translation.customFields` , `swp_product_options_options_products.product.translation` . `slot_config` as `swp_product_options_options_products.product.translation.slotConfig` , `swp_product_options_options_products.product.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.translation` WHERE `swp_product_options_options_products.product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.product_translation` ON `swp_product_options_options_products.product.product_translation` . `product_id` = `swp_product_options_options_products.product` . `id` AND `swp_product_options_options_products.product.product_translation` . `product_version_id` = `swp_product_options_options_products.product` . `version_id` LEFT JOIN (SELECT `swp_product_options_options_products.product.parent.translation` . `product_id` , `swp_product_options_options_products.product.parent.translation` . `product_version_id` , `swp_product_options_options_products.product.parent.translation` . `meta_description` as `swp_product_options_options_products.product.parent.translation.metaDescription` , `swp_product_options_options_products.product.parent.translation` . `name` as `swp_product_options_options_products.product.parent.translation.name` , `swp_product_options_options_products.product.parent.translation` . `keywords` as `swp_product_options_options_products.product.parent.translation.keywords` , `swp_product_options_options_products.product.parent.translation` . `description` as `swp_product_options_options_products.product.parent.translation.description` , `swp_product_options_options_products.product.parent.translation` . `meta_title` as `swp_product_options_options_products.product.parent.translation.metaTitle` , `swp_product_options_options_products.product.parent.translation` . `pack_unit` as `swp_product_options_options_products.product.parent.translation.packUnit` , `swp_product_options_options_products.product.parent.translation` . `pack_unit_plural` as `swp_product_options_options_products.product.parent.translation.packUnitPlural` , `swp_product_options_options_products.product.parent.translation` . `custom_fields` as `swp_product_options_options_products.product.parent.translation.customFields` , `swp_product_options_options_products.product.parent.translation` . `slot_config` as `swp_product_options_options_products.product.parent.translation.slotConfig` , `swp_product_options_options_products.product.parent.translation` . `custom_search_keywords` as `swp_product_options_options_products.product.parent.translation.customSearchKeywords` FROM `product_translation` `swp_product_options_options_products.product.parent.translation` WHERE `swp_product_options_options_products.product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.parent.product_translation` ON `swp_product_options_options_products.product.parent.product_translation` . `product_id` = `swp_product_options_options_products.product.parent` . `id` AND `swp_product_options_options_products.product.parent.product_translation` . `product_version_id` = `swp_product_options_options_products.product.parent` . `version_id` LEFT JOIN `media` `swp_product_options_options_products.product.cover.media` ON `swp_product_options_options_products.product.cover` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_products.product.cover.media.translation` . `media_id` , `swp_product_options_options_products.product.cover.media.translation` . `alt` as `swp_product_options_options_products.product.cover.media.translation.alt` , `swp_product_options_options_products.product.cover.media.translation` . `title` as `swp_product_options_options_products.product.cover.media.translation.title` , `swp_product_options_options_products.product.cover.media.translation` . `custom_fields` as `swp_product_options_options_products.product.cover.media.translation.customFields` FROM `media_translation` `swp_product_options_options_products.product.cover.media.translation` WHERE `swp_product_options_options_products.product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_products.product.cover.media.media_translation` ON `swp_product_options_options_products.product.cover.media.media_translation` . `media_id` = `swp_product_options_options_products.product.cover.media` . `id` WHERE (`swp_product_options_options_products` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_products` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
119
1.10 ms
SELECT `swp_product_options_options_media` . `id` as `swp_product_options_options_media.id` , `swp_product_options_options_media` . `version_id` as `swp_product_options_options_media.versionId` , `swp_product_options_options_media` . `swp_product_options_options_id` as `swp_product_options_options_media.swpProductOptionsOptionsId` , `swp_product_options_options_media` . `swp_product_options_options_version_id` as `swp_product_options_options_media.swpProductOptionsOptionsVersionId` , `swp_product_options_options_media` . `media_id` as `swp_product_options_options_media.mediaId` , `swp_product_options_options_media` . `position` as `swp_product_options_options_media.position` , `swp_product_options_options_media.media` . `id` as `swp_product_options_options_media.media.id` , `swp_product_options_options_media.media` . `user_id` as `swp_product_options_options_media.media.userId` , `swp_product_options_options_media.media` . `media_folder_id` as `swp_product_options_options_media.media.mediaFolderId` , `swp_product_options_options_media.media` . `mime_type` as `swp_product_options_options_media.media.mimeType` , `swp_product_options_options_media.media` . `file_extension` as `swp_product_options_options_media.media.fileExtension` , `swp_product_options_options_media.media` . `uploaded_at` as `swp_product_options_options_media.media.uploadedAt` , `swp_product_options_options_media.media` . `file_name` as `swp_product_options_options_media.media.fileName` , `swp_product_options_options_media.media` . `file_size` as `swp_product_options_options_media.media.fileSize` , `swp_product_options_options_media.media` . `media_type` as `swp_product_options_options_media.media.mediaTypeRaw` , `swp_product_options_options_media.media` . `meta_data` as `swp_product_options_options_media.media.metaData` , `swp_product_options_options_media.media` . `config` as `swp_product_options_options_media.media.config` , `swp_product_options_options_media.media` . `path` as `swp_product_options_options_media.media.path` , `swp_product_options_options_media.media` . `private` as `swp_product_options_options_media.media.private` , `swp_product_options_options_media.media` . `thumbnails_ro` as `swp_product_options_options_media.media.thumbnailsRo` , `swp_product_options_options_media.media` . `created_at` as `swp_product_options_options_media.media.createdAt` , `swp_product_options_options_media.media` . `updated_at` as `swp_product_options_options_media.media.updatedAt` , `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation.title` as `swp_product_options_options_media.media.title` , `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation.alt` as `swp_product_options_options_media.media.alt` , `swp_product_options_options_media.media.translation.customFields` , `swp_product_options_options_media.media.translation.customFields` as `swp_product_options_options_media.media.customFields` , `swp_product_options_options_media` . `created_at` as `swp_product_options_options_media.createdAt` , `swp_product_options_options_media` . `updated_at` as `swp_product_options_options_media.updatedAt` FROM `swp_product_options_options_media` LEFT JOIN `media` `swp_product_options_options_media.media` ON `swp_product_options_options_media` . `media_id` = `swp_product_options_options_media.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_media.media.translation` . `media_id` , `swp_product_options_options_media.media.translation` . `alt` as `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation` . `title` as `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation` . `custom_fields` as `swp_product_options_options_media.media.translation.customFields` FROM `media_translation` `swp_product_options_options_media.media.translation` WHERE `swp_product_options_options_media.media.translation` . `language_id` = ? ) `swp_product_options_options_media.media.media_translation` ON `swp_product_options_options_media.media.media_translation` . `media_id` = `swp_product_options_options_media.media` . `id` WHERE (`swp_product_options_options_media` . `version_id` = ? ) AND ((`swp_product_options_options_media` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT `swp_product_options_options_media` . `id` as `swp_product_options_options_media.id` , `swp_product_options_options_media` . `version_id` as `swp_product_options_options_media.versionId` , `swp_product_options_options_media` . `swp_product_options_options_id` as `swp_product_options_options_media.swpProductOptionsOptionsId` , `swp_product_options_options_media` . `swp_product_options_options_version_id` as `swp_product_options_options_media.swpProductOptionsOptionsVersionId` , `swp_product_options_options_media` . `media_id` as `swp_product_options_options_media.mediaId` , `swp_product_options_options_media` . `position` as `swp_product_options_options_media.position` , `swp_product_options_options_media.media` . `id` as `swp_product_options_options_media.media.id` , `swp_product_options_options_media.media` . `user_id` as `swp_product_options_options_media.media.userId` , `swp_product_options_options_media.media` . `media_folder_id` as `swp_product_options_options_media.media.mediaFolderId` , `swp_product_options_options_media.media` . `mime_type` as `swp_product_options_options_media.media.mimeType` , `swp_product_options_options_media.media` . `file_extension` as `swp_product_options_options_media.media.fileExtension` , `swp_product_options_options_media.media` . `uploaded_at` as `swp_product_options_options_media.media.uploadedAt` , `swp_product_options_options_media.media` . `file_name` as `swp_product_options_options_media.media.fileName` , `swp_product_options_options_media.media` . `file_size` as `swp_product_options_options_media.media.fileSize` , `swp_product_options_options_media.media` . `media_type` as `swp_product_options_options_media.media.mediaTypeRaw` , `swp_product_options_options_media.media` . `meta_data` as `swp_product_options_options_media.media.metaData` , `swp_product_options_options_media.media` . `config` as `swp_product_options_options_media.media.config` , `swp_product_options_options_media.media` . `path` as `swp_product_options_options_media.media.path` , `swp_product_options_options_media.media` . `private` as `swp_product_options_options_media.media.private` , `swp_product_options_options_media.media` . `thumbnails_ro` as `swp_product_options_options_media.media.thumbnailsRo` , `swp_product_options_options_media.media` . `created_at` as `swp_product_options_options_media.media.createdAt` , `swp_product_options_options_media.media` . `updated_at` as `swp_product_options_options_media.media.updatedAt` , `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation.title` as `swp_product_options_options_media.media.title` , `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation.alt` as `swp_product_options_options_media.media.alt` , `swp_product_options_options_media.media.translation.customFields` , `swp_product_options_options_media.media.translation.customFields` as `swp_product_options_options_media.media.customFields` , `swp_product_options_options_media` . `created_at` as `swp_product_options_options_media.createdAt` , `swp_product_options_options_media` . `updated_at` as `swp_product_options_options_media.updatedAt` FROM `swp_product_options_options_media` LEFT JOIN `media` `swp_product_options_options_media.media` ON `swp_product_options_options_media` . `media_id` = `swp_product_options_options_media.media` . `id` LEFT JOIN (SELECT `swp_product_options_options_media.media.translation` . `media_id` , `swp_product_options_options_media.media.translation` . `alt` as `swp_product_options_options_media.media.translation.alt` , `swp_product_options_options_media.media.translation` . `title` as `swp_product_options_options_media.media.translation.title` , `swp_product_options_options_media.media.translation` . `custom_fields` as `swp_product_options_options_media.media.translation.customFields` FROM `media_translation` `swp_product_options_options_media.media.translation` WHERE `swp_product_options_options_media.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options_media.media.media_translation` ON `swp_product_options_options_media.media.media_translation` . `media_id` = `swp_product_options_options_media.media` . `id` WHERE (`swp_product_options_options_media` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_media` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
120
1.20 ms
SELECT `swp_product_options_options` . `id` as `swp_product_options_options.id` , `swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` , `swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` , `swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` , `swp_product_options_options` . `operator` as `swp_product_options_options.operator` , `swp_product_options_options` . `price` as `swp_product_options_options.price` , `swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` , `swp_product_options_options` . `weight` as `swp_product_options_options.weight` , `swp_product_options_options` . `width` as `swp_product_options_options.width` , `swp_product_options_options` . `height` as `swp_product_options_options.height` , `swp_product_options_options` . `length` as `swp_product_options_options.length` , `swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` , `swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` , `swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` , `swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` , `swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` , `swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` , `swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` , `swp_product_options_options` . `active` as `swp_product_options_options.active` , `swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` , `swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` , `swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` , `swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` , `swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` , `swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` , `swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` , `swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` , `swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` , `swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` , `swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` , `swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` , `swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` , `swp_product_options_options.translation.name` , `swp_product_options_options.translation.name` as `swp_product_options_options.name` , `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` , `swp_product_options_options.translation.longDescription` , `swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription` FROM `swp_product_options_options` LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id` LEFT JOIN (SELECT `swp_product_options_options.translation` . `swp_product_options_options_id` , `swp_product_options_options.translation` . `swp_product_options_options_version_id` , `swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` , `swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_options.translation` WHERE `swp_product_options_options.translation` . `language_id` = ? ) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id` AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id` WHERE (`swp_product_options_options` . `version_id` = ? ) AND (`swp_product_options_options` . `id` IN (? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
]
SELECT
`swp_product_options_options` . `id` as `swp_product_options_options.id` ,
`swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` ,
`swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` ,
`swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` ,
`swp_product_options_options` . `operator` as `swp_product_options_options.operator` ,
`swp_product_options_options` . `price` as `swp_product_options_options.price` ,
`swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` ,
`swp_product_options_options` . `weight` as `swp_product_options_options.weight` ,
`swp_product_options_options` . `width` as `swp_product_options_options.width` ,
`swp_product_options_options` . `height` as `swp_product_options_options.height` ,
`swp_product_options_options` . `length` as `swp_product_options_options.length` ,
`swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` ,
`swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` ,
`swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` ,
`swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` ,
`swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` ,
`swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` ,
`swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` ,
`swp_product_options_options` . `active` as `swp_product_options_options.active` ,
`swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` ,
`swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` ,
`swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` ,
`swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` ,
`swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` ,
`swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` ,
`swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` ,
`swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` ,
`swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` ,
`swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` ,
`swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` ,
`swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` ,
`swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` ,
`swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` ,
`swp_product_options_options.translation.name` ,
`swp_product_options_options.translation.name` as `swp_product_options_options.name` ,
`swp_product_options_options.translation.shortDescription` ,
`swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` ,
`swp_product_options_options.translation.longDescription` ,
`swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription`
FROM
`swp_product_options_options`
LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id`
LEFT JOIN (
SELECT
`swp_product_options_options.translation` . `swp_product_options_options_id` ,
`swp_product_options_options.translation` . `swp_product_options_options_version_id` ,
`swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` ,
`swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` ,
`swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription`
FROM
`swp_product_options_options_translation` `swp_product_options_options.translation`
WHERE
`swp_product_options_options.translation` . `language_id` = ?
) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id`
AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id`
WHERE
(
`swp_product_options_options` . `version_id` = ?
)
AND (
`swp_product_options_options` . `id` IN (? , ? , ? , ? )
)
Copy
SELECT `swp_product_options_options` . `id` as `swp_product_options_options.id` , `swp_product_options_options` . `version_id` as `swp_product_options_options.versionId` , `swp_product_options_options` . `int_identifier` as `swp_product_options_options.intIdentifier` , `swp_product_options_options` . `tax_id` as `swp_product_options_options.taxId` , `swp_product_options_options` . `operator` as `swp_product_options_options.operator` , `swp_product_options_options` . `price` as `swp_product_options_options.price` , `swp_product_options_options` . `weight_prefix` as `swp_product_options_options.weightPrefix` , `swp_product_options_options` . `weight` as `swp_product_options_options.weight` , `swp_product_options_options` . `width` as `swp_product_options_options.width` , `swp_product_options_options` . `height` as `swp_product_options_options.height` , `swp_product_options_options` . `length` as `swp_product_options_options.length` , `swp_product_options_options` . `ordernumber` as `swp_product_options_options.ordernumber` , `swp_product_options_options` . `calculationart` as `swp_product_options_options.calculationart` , `swp_product_options_options` . `use_percentprice` as `swp_product_options_options.usePercentprice` , `swp_product_options_options` . `use_articleprice` as `swp_product_options_options.useArticleprice` , `swp_product_options_options` . `assignedproducts_count` as `swp_product_options_options.assignedproductsCount` , `swp_product_options_options` . `calculation` as `swp_product_options_options.calculation` , `swp_product_options_options` . `input_settings` as `swp_product_options_options.inputSettings` , `swp_product_options_options` . `active` as `swp_product_options_options.active` , `swp_product_options_options` . `property_group_ids` as `swp_product_options_options.propertyGroupIds` , `swp_product_options_options` . `property_ids` as `swp_product_options_options.propertyIds` , `swp_product_options_options.tax` . `id` as `swp_product_options_options.tax.id` , `swp_product_options_options.tax` . `tax_rate` as `swp_product_options_options.tax.taxRate` , `swp_product_options_options.tax` . `name` as `swp_product_options_options.tax.name` , `swp_product_options_options.tax` . `position` as `swp_product_options_options.tax.position` , `swp_product_options_options.tax` . `custom_fields` as `swp_product_options_options.tax.customFields` , `swp_product_options_options.tax` . `created_at` as `swp_product_options_options.tax.createdAt` , `swp_product_options_options.tax` . `updated_at` as `swp_product_options_options.tax.updatedAt` , `swp_product_options_options` . `swp_product_options_options_media_id` as `swp_product_options_options.coverId` , `swp_product_options_options` . `swp_product_options_options_media_version_id` as `swp_product_options_options.swpProductOptionsOptionsMediaVersionId` , `swp_product_options_options` . `custom_fields` as `swp_product_options_options.customFields` , `swp_product_options_options` . `created_at` as `swp_product_options_options.createdAt` , `swp_product_options_options` . `updated_at` as `swp_product_options_options.updatedAt` , `swp_product_options_options.translation.name` , `swp_product_options_options.translation.name` as `swp_product_options_options.name` , `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation.shortDescription` as `swp_product_options_options.shortDescription` , `swp_product_options_options.translation.longDescription` , `swp_product_options_options.translation.longDescription` as `swp_product_options_options.longDescription` FROM `swp_product_options_options` LEFT JOIN `tax` `swp_product_options_options.tax` ON `swp_product_options_options` . `tax_id` = `swp_product_options_options.tax` . `id` LEFT JOIN (SELECT `swp_product_options_options.translation` . `swp_product_options_options_id` , `swp_product_options_options.translation` . `swp_product_options_options_version_id` , `swp_product_options_options.translation` . `name` as `swp_product_options_options.translation.name` , `swp_product_options_options.translation` . `short_description` as `swp_product_options_options.translation.shortDescription` , `swp_product_options_options.translation` . `long_description` as `swp_product_options_options.translation.longDescription` FROM `swp_product_options_options_translation` `swp_product_options_options.translation` WHERE `swp_product_options_options.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_options.swp_product_options_options_translation` ON `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_id` = `swp_product_options_options` . `id` AND `swp_product_options_options.swp_product_options_options_translation` . `swp_product_options_options_version_id` = `swp_product_options_options` . `version_id` WHERE (`swp_product_options_options` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_options` . `id` IN (0x018F521339317C5C94760337E42900B0 , 0x018F521406F873F78193375994D50411 , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 ));
Copy
121
0.64 ms
SELECT `swp_product_options_options_price` . `id` as `swp_product_options_options_price.id` , `swp_product_options_options_price` . `version_id` as `swp_product_options_options_price.versionId` , `swp_product_options_options_price` . `swp_product_options_options_id` as `swp_product_options_options_price.swpProductOptionsOptionsId` , `swp_product_options_options_price` . `swp_product_options_options_version_id` as `swp_product_options_options_price.swpProductOptionsOptionsVersionId` , `swp_product_options_options_price` . `rule_id` as `swp_product_options_options_price.ruleId` , `swp_product_options_options_price` . `price` as `swp_product_options_options_price.price` , `swp_product_options_options_price` . `quantity_start` as `swp_product_options_options_price.quantityStart` , `swp_product_options_options_price` . `quantity_end` as `swp_product_options_options_price.quantityEnd` , `swp_product_options_options_price` . `created_at` as `swp_product_options_options_price.createdAt` , `swp_product_options_options_price` . `updated_at` as `swp_product_options_options_price.updatedAt` FROM `swp_product_options_options_price` WHERE (`swp_product_options_options_price` . `version_id` = ? ) AND ((`swp_product_options_options_price` . `swp_product_options_options_id` IN (? , ? , ? , ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"w«8\x15 4╣@Êú\x01 ¬ÅFCı═ "
b"©\x0E ›ÊŸùDª°üiäâÉÛy "
b"\x01 ÅR\x14\x06 °s¸üô7Yöı\x04\x11 "
b"\x01 ÅR\x13 91|\öv\x03 7õ)\x00 ░ "
]
SELECT `swp_product_options_options_price` . `id` as `swp_product_options_options_price.id` , `swp_product_options_options_price` . `version_id` as `swp_product_options_options_price.versionId` , `swp_product_options_options_price` . `swp_product_options_options_id` as `swp_product_options_options_price.swpProductOptionsOptionsId` , `swp_product_options_options_price` . `swp_product_options_options_version_id` as `swp_product_options_options_price.swpProductOptionsOptionsVersionId` , `swp_product_options_options_price` . `rule_id` as `swp_product_options_options_price.ruleId` , `swp_product_options_options_price` . `price` as `swp_product_options_options_price.price` , `swp_product_options_options_price` . `quantity_start` as `swp_product_options_options_price.quantityStart` , `swp_product_options_options_price` . `quantity_end` as `swp_product_options_options_price.quantityEnd` , `swp_product_options_options_price` . `created_at` as `swp_product_options_options_price.createdAt` , `swp_product_options_options_price` . `updated_at` as `swp_product_options_options_price.updatedAt` FROM `swp_product_options_options_price` WHERE (`swp_product_options_options_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`swp_product_options_options_price` . `swp_product_options_options_id` IN (0x77AE381534B940D2A301AA8F4643D5CD , 0xA90E9BCA9FF944AAB0FC69E4E2C9DB79 , 0x018F521406F873F78193375994D50411 , 0x018F521339317C5C94760337E42900B0 )));
Copy
122
0.69 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) AND (`product` . `id` IN (? )) GROUP BY `product` . `id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 )) GROUP BY `product` . `id` ;
Copy
123
3.51 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
124
0.60 ms
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = ? ) AND ((`product_price` . `product_id` IN (? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_price` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
125
1.59 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
126
1.63 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
127
2.12 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
128
1.79 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
129
2.12 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
130
0.39 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
131
0.42 ms
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ))) AND (`product` . `id` IN (? )) GROUP BY `product` . `id`
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
10
b"‚ëîBXkAý£2\x0F ֿ䨮 "
true
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product` . `id` , `product` . `product_number` , `product` . `auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 10 ) AND `product.visibilities` . `sales_channel_id` = 0x82EBEE42586B41FDA3320FD6BFE4A8AE AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ))) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 )) GROUP BY `product` . `id` ;
Copy
132
2.83 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
133
0.41 ms
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = ? ) AND ((`product_price` . `product_id` IN (? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT `product_price` . `id` as `product_price.id` , `product_price` . `version_id` as `product_price.versionId` , `product_price` . `product_id` as `product_price.productId` , `product_price` . `product_version_id` as `product_price.productVersionId` , `product_price` . `rule_id` as `product_price.ruleId` , `product_price` . `price` as `product_price.price` , `product_price` . `quantity_start` as `product_price.quantityStart` , `product_price` . `quantity_end` as `product_price.quantityEnd` , `product_price` . `custom_fields` as `product_price.customFields` , `product_price` . `created_at` as `product_price.createdAt` , `product_price` . `updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`product_price` . `product_id` IN (0x018F5247E3737D4A9406FE0BE274B735 )));
Copy
134
1.77 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
135
1.44 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
136
1.40 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
137
1.30 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
138
1.38 ms
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = ? ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRGÒs}Jö\x06 ■\v ÔtÀ5 "
]
SELECT
`product` . `id` as `product.id` ,
`product` . `version_id` as `product.versionId` ,
`product` . `parent_id` as `product.parentId` ,
`product` . `parent_version_id` as `product.parentVersionId` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive` ,
`product` . `sales` as `product.sales` ,
`product` . `states` as `product.states` ,
`product.tax` . `id` as `product.tax.id` ,
`product.tax` . `tax_rate` as `product.tax.taxRate` ,
`product.tax` . `name` as `product.tax.name` ,
`product.tax` . `position` as `product.tax.position` ,
`product.tax` . `custom_fields` as `product.tax.customFields` ,
`product.tax` . `created_at` as `product.tax.createdAt` ,
`product.tax` . `updated_at` as `product.tax.updatedAt` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` ,
`product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` ,
`product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` ,
`product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` ,
`product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` ,
`product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` ,
`product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` ,
`product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` ,
`product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id`
AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id`
LEFT JOIN (
SELECT
`product.translation` . `product_id` ,
`product.translation` . `product_version_id` ,
`product.translation` . `meta_description` as `product.translation.metaDescription` ,
`product.translation` . `name` as `product.translation.name` ,
`product.translation` . `keywords` as `product.translation.keywords` ,
`product.translation` . `description` as `product.translation.description` ,
`product.translation` . `meta_title` as `product.translation.metaTitle` ,
`product.translation` . `pack_unit` as `product.translation.packUnit` ,
`product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` ,
`product.translation` . `custom_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
FROM
`product_translation` `product.translation`
WHERE
`product.translation` . `language_id` = ?
) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id`
AND `product.product_translation` . `product_version_id` = `product` . `version_id`
LEFT JOIN (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? )
)
Copy
SELECT `product` . `id` as `product.id` , `product` . `version_id` as `product.versionId` , `product` . `parent_id` as `product.parentId` , `product` . `parent_version_id` as `product.parentVersionId` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `custom_field_set_selection_active` ) as `product.customFieldSetSelectionActive` , `product` . `sales` as `product.sales` , `product` . `states` as `product.states` , `product.tax` . `id` as `product.tax.id` , `product.tax` . `tax_rate` as `product.tax.taxRate` , `product.tax` . `name` as `product.tax.name` , `product.tax` . `position` as `product.tax.position` , `product.tax` . `custom_fields` as `product.tax.customFields` , `product.tax` . `created_at` as `product.tax.createdAt` , `product.tax` . `updated_at` as `product.tax.updatedAt` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.productoptionsSettings` . `id` as `product.productoptionsSettings.id` , `product.productoptionsSettings` . `version_id` as `product.productoptionsSettings.versionId` , `product.productoptionsSettings` . `product_id` as `product.productoptionsSettings.productId` , `product.productoptionsSettings` . `product_version_id` as `product.productoptionsSettings.productVersionId` , `product.productoptionsSettings` . `has_options` as `product.productoptionsSettings.hasOptions` , `product.productoptionsSettings` . `custom_view` as `product.productoptionsSettings.customView` , `product.productoptionsSettings` . `inherited` as `product.productoptionsSettings.inherited` , `product.productoptionsSettings` . `created_at` as `product.productoptionsSettings.createdAt` , `product.productoptionsSettings` . `updated_at` as `product.productoptionsSettings.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `swp_product_options_product_extension` `product.productoptionsSettings` ON `product` . `id` = `product.productoptionsSettings` . `product_id` AND `product` . `version_id` = `product.productoptionsSettings` . `product_version_id` LEFT JOIN (SELECT `product.translation` . `product_id` , `product.translation` . `product_version_id` , `product.translation` . `meta_description` as `product.translation.metaDescription` , `product.translation` . `name` as `product.translation.name` , `product.translation` . `keywords` as `product.translation.keywords` , `product.translation` . `description` as `product.translation.description` , `product.translation` . `meta_title` as `product.translation.metaTitle` , `product.translation` . `pack_unit` as `product.translation.packUnit` , `product.translation` . `pack_unit_plural` as `product.translation.packUnitPlural` , `product.translation` . `custom_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` FROM `product_translation` `product.translation` WHERE `product.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.product_translation` ON `product.product_translation` . `product_id` = `product` . `id` AND `product.product_translation` . `product_version_id` = `product` . `version_id` LEFT JOIN (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x018F5247E3737D4A9406FE0BE274B735 ));
Copy
139
0.31 ms
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = ?
Parameters :
[
"lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u "
]
SELECT `cart` . `payload` , `cart` . `rule_ids` , `cart` . `compressed` FROM cart WHERE `token` = 'lrS7hxZDx186yM9uOqlm4yhnVLBw9w5u' ;
Copy
140
0.46 ms
SELECT `swp_product_options_groups` . `id` as `swp_product_options_groups.id` , `swp_product_options_groups` . `version_id` as `swp_product_options_groups.versionId` , `swp_product_options_groups` . `parent_id` as `swp_product_options_groups.parentId` , `swp_product_options_groups` . `parent_version_id` as `swp_product_options_groups.parentVersionId` , `swp_product_options_groups` . `field_typ` as `swp_product_options_groups.fieldTyp` , `swp_product_options_groups` . `required` as `swp_product_options_groups.required` , `swp_product_options_groups` . `active` as `swp_product_options_groups.active` , `swp_product_options_groups` . `with_quantity` as `swp_product_options_groups.withQuantity` , `swp_product_options_groups` . `zoommedia` as `swp_product_options_groups.zoommedia` , `swp_product_options_groups` . `int_identifier` as `swp_product_options_groups.intIdentifier` , `swp_product_options_groups` . `additional_class` as `swp_product_options_groups.additionalClass` , `swp_product_options_groups` . `created_at` as `swp_product_options_groups.createdAt` , `swp_product_options_groups` . `updated_at` as `swp_product_options_groups.updatedAt` , `swp_product_options_groups` . `swp_product_options_formula_id` as `swp_product_options_groups.swpProductOptionsFormulaId` , `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation.name` as `swp_product_options_groups.name` , `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation.shortDescription` as `swp_product_options_groups.shortDescription` , `swp_product_options_groups.translation.longDescription` , `swp_product_options_groups.translation.longDescription` as `swp_product_options_groups.longDescription` FROM `swp_product_options_groups` LEFT JOIN (SELECT `swp_product_options_groups.translation` . `swp_product_options_groups_id` , `swp_product_options_groups.translation` . `swp_product_options_groups_version_id` , `swp_product_options_groups.translation` . `name` as `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation` . `short_description` as `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation` . `long_description` as `swp_product_options_groups.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_groups.translation` WHERE `swp_product_options_groups.translation` . `language_id` = ? ) `swp_product_options_groups.swp_product_options_groups_translation` ON `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_groups` . `id` AND `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_groups` . `version_id` WHERE (`swp_product_options_groups` . `version_id` = ? ) AND (`swp_product_options_groups` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ÅRF|zvtº¡!Pf\x1E oÆ "
]
SELECT `swp_product_options_groups` . `id` as `swp_product_options_groups.id` , `swp_product_options_groups` . `version_id` as `swp_product_options_groups.versionId` , `swp_product_options_groups` . `parent_id` as `swp_product_options_groups.parentId` , `swp_product_options_groups` . `parent_version_id` as `swp_product_options_groups.parentVersionId` , `swp_product_options_groups` . `field_typ` as `swp_product_options_groups.fieldTyp` , `swp_product_options_groups` . `required` as `swp_product_options_groups.required` , `swp_product_options_groups` . `active` as `swp_product_options_groups.active` , `swp_product_options_groups` . `with_quantity` as `swp_product_options_groups.withQuantity` , `swp_product_options_groups` . `zoommedia` as `swp_product_options_groups.zoommedia` , `swp_product_options_groups` . `int_identifier` as `swp_product_options_groups.intIdentifier` , `swp_product_options_groups` . `additional_class` as `swp_product_options_groups.additionalClass` , `swp_product_options_groups` . `created_at` as `swp_product_options_groups.createdAt` , `swp_product_options_groups` . `updated_at` as `swp_product_options_groups.updatedAt` , `swp_product_options_groups` . `swp_product_options_formula_id` as `swp_product_options_groups.swpProductOptionsFormulaId` , `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation.name` as `swp_product_options_groups.name` , `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation.shortDescription` as `swp_product_options_groups.shortDescription` , `swp_product_options_groups.translation.longDescription` , `swp_product_options_groups.translation.longDescription` as `swp_product_options_groups.longDescription` FROM `swp_product_options_groups` LEFT JOIN (SELECT `swp_product_options_groups.translation` . `swp_product_options_groups_id` , `swp_product_options_groups.translation` . `swp_product_options_groups_version_id` , `swp_product_options_groups.translation` . `name` as `swp_product_options_groups.translation.name` , `swp_product_options_groups.translation` . `short_description` as `swp_product_options_groups.translation.shortDescription` , `swp_product_options_groups.translation` . `long_description` as `swp_product_options_groups.translation.longDescription` FROM `swp_product_options_groups_translation` `swp_product_options_groups.translation` WHERE `swp_product_options_groups.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `swp_product_options_groups.swp_product_options_groups_translation` ON `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_id` = `swp_product_options_groups` . `id` AND `swp_product_options_groups.swp_product_options_groups_translation` . `swp_product_options_groups_version_id` = `swp_product_options_groups` . `version_id` WHERE (`swp_product_options_groups` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`swp_product_options_groups` . `id` IN (0x018F52467C7A7674A7AD2150661E6F92 ));
Copy
141
1.08 ms
SELECT `app` . `id` as `app.id` , `app` . `name` as `app.name` , `app` . `path` as `app.path` , `app` . `author` as `app.author` , `app` . `copyright` as `app.copyright` , `app` . `license` as `app.license` , `app` . `active` as `app.active` , `app` . `configurable` as `app.configurable` , `app` . `privacy` as `app.privacy` , `app` . `version` as `app.version` , `app` . `icon` as `app.iconRaw` , `app` . `app_secret` as `app.appSecret` , `app` . `modules` as `app.modules` , `app` . `main_module` as `app.mainModule` , `app` . `cookies` as `app.cookies` , `app` . `allow_disable` as `app.allowDisable` , `app` . `base_app_url` as `app.baseAppUrl` , `app` . `allowed_hosts` as `app.allowedHosts` , `app` . `template_load_priority` as `app.templateLoadPriority` , `app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` , `app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` , `app` . `source_type` as `app.sourceType` , `app` . `source_config` as `app.sourceConfig` , `app` . `self_managed` as `app.selfManaged` , `app` . `integration_id` as `app.integrationId` , `app.integration` . `id` as `app.integration.id` , `app.integration` . `label` as `app.integration.label` , `app.integration` . `access_key` as `app.integration.accessKey` , `app.integration` . `secret_access_key` as `app.integration.secretAccessKey` , `app.integration` . `last_usage_at` as `app.integration.lastUsageAt` , `app.integration` . `admin` as `app.integration.admin` , `app.integration` . `custom_fields` as `app.integration.customFields` , `app.integration` . `deleted_at` as `app.integration.deletedAt` , `app.integration` . `created_at` as `app.integration.createdAt` , `app.integration` . `updated_at` as `app.integration.updatedAt` , `app` . `acl_role_id` as `app.aclRoleId` , `app.aclRole` . `id` as `app.aclRole.id` , `app.aclRole` . `name` as `app.aclRole.name` , `app.aclRole` . `description` as `app.aclRole.description` , `app.aclRole` . `privileges` as `app.aclRole.privileges` , `app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` , `app.aclRole` . `created_at` as `app.aclRole.createdAt` , `app.aclRole` . `updated_at` as `app.aclRole.updatedAt` , `app` . `created_at` as `app.createdAt` , `app` . `updated_at` as `app.updatedAt` , `app.translation.label` , `app.translation.label` as `app.label` , `app.translation.description` , `app.translation.description` as `app.description` , `app.translation.privacyPolicyExtensions` , `app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` , `app.translation.customFields` , `app.translation.customFields` as `app.customFields` FROM `app` LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id` LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id` LEFT JOIN (SELECT `app.translation` . `app_id` , `app.translation` . `label` as `app.translation.label` , `app.translation` . `description` as `app.translation.description` , `app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` , `app.translation` . `custom_fields` as `app.translation.customFields` FROM `app_translation` `app.translation` WHERE `app.translation` . `language_id` = ? ) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id` WHERE (`app` . `name` = ? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
"SwagInsiderPreviews "
]
SELECT
`app` . `id` as `app.id` ,
`app` . `name` as `app.name` ,
`app` . `path` as `app.path` ,
`app` . `author` as `app.author` ,
`app` . `copyright` as `app.copyright` ,
`app` . `license` as `app.license` ,
`app` . `active` as `app.active` ,
`app` . `configurable` as `app.configurable` ,
`app` . `privacy` as `app.privacy` ,
`app` . `version` as `app.version` ,
`app` . `icon` as `app.iconRaw` ,
`app` . `app_secret` as `app.appSecret` ,
`app` . `modules` as `app.modules` ,
`app` . `main_module` as `app.mainModule` ,
`app` . `cookies` as `app.cookies` ,
`app` . `allow_disable` as `app.allowDisable` ,
`app` . `base_app_url` as `app.baseAppUrl` ,
`app` . `allowed_hosts` as `app.allowedHosts` ,
`app` . `template_load_priority` as `app.templateLoadPriority` ,
`app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` ,
`app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` ,
`app` . `source_type` as `app.sourceType` ,
`app` . `source_config` as `app.sourceConfig` ,
`app` . `self_managed` as `app.selfManaged` ,
`app` . `integration_id` as `app.integrationId` ,
`app.integration` . `id` as `app.integration.id` ,
`app.integration` . `label` as `app.integration.label` ,
`app.integration` . `access_key` as `app.integration.accessKey` ,
`app.integration` . `secret_access_key` as `app.integration.secretAccessKey` ,
`app.integration` . `last_usage_at` as `app.integration.lastUsageAt` ,
`app.integration` . `admin` as `app.integration.admin` ,
`app.integration` . `custom_fields` as `app.integration.customFields` ,
`app.integration` . `deleted_at` as `app.integration.deletedAt` ,
`app.integration` . `created_at` as `app.integration.createdAt` ,
`app.integration` . `updated_at` as `app.integration.updatedAt` ,
`app` . `acl_role_id` as `app.aclRoleId` ,
`app.aclRole` . `id` as `app.aclRole.id` ,
`app.aclRole` . `name` as `app.aclRole.name` ,
`app.aclRole` . `description` as `app.aclRole.description` ,
`app.aclRole` . `privileges` as `app.aclRole.privileges` ,
`app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` ,
`app.aclRole` . `created_at` as `app.aclRole.createdAt` ,
`app.aclRole` . `updated_at` as `app.aclRole.updatedAt` ,
`app` . `created_at` as `app.createdAt` ,
`app` . `updated_at` as `app.updatedAt` ,
`app.translation.label` ,
`app.translation.label` as `app.label` ,
`app.translation.description` ,
`app.translation.description` as `app.description` ,
`app.translation.privacyPolicyExtensions` ,
`app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` ,
`app.translation.customFields` ,
`app.translation.customFields` as `app.customFields`
FROM
`app`
LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id`
LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id`
LEFT JOIN (
SELECT
`app.translation` . `app_id` ,
`app.translation` . `label` as `app.translation.label` ,
`app.translation` . `description` as `app.translation.description` ,
`app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` ,
`app.translation` . `custom_fields` as `app.translation.customFields`
FROM
`app_translation` `app.translation`
WHERE
`app.translation` . `language_id` = ?
) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id`
WHERE
(`app` . `name` = ? )
Copy
SELECT `app` . `id` as `app.id` , `app` . `name` as `app.name` , `app` . `path` as `app.path` , `app` . `author` as `app.author` , `app` . `copyright` as `app.copyright` , `app` . `license` as `app.license` , `app` . `active` as `app.active` , `app` . `configurable` as `app.configurable` , `app` . `privacy` as `app.privacy` , `app` . `version` as `app.version` , `app` . `icon` as `app.iconRaw` , `app` . `app_secret` as `app.appSecret` , `app` . `modules` as `app.modules` , `app` . `main_module` as `app.mainModule` , `app` . `cookies` as `app.cookies` , `app` . `allow_disable` as `app.allowDisable` , `app` . `base_app_url` as `app.baseAppUrl` , `app` . `allowed_hosts` as `app.allowedHosts` , `app` . `template_load_priority` as `app.templateLoadPriority` , `app` . `checkout_gateway_url` as `app.checkoutGatewayUrl` , `app` . `in_app_purchases_gateway_url` as `app.inAppPurchasesGatewayUrl` , `app` . `source_type` as `app.sourceType` , `app` . `source_config` as `app.sourceConfig` , `app` . `self_managed` as `app.selfManaged` , `app` . `integration_id` as `app.integrationId` , `app.integration` . `id` as `app.integration.id` , `app.integration` . `label` as `app.integration.label` , `app.integration` . `access_key` as `app.integration.accessKey` , `app.integration` . `secret_access_key` as `app.integration.secretAccessKey` , `app.integration` . `last_usage_at` as `app.integration.lastUsageAt` , `app.integration` . `admin` as `app.integration.admin` , `app.integration` . `custom_fields` as `app.integration.customFields` , `app.integration` . `deleted_at` as `app.integration.deletedAt` , `app.integration` . `created_at` as `app.integration.createdAt` , `app.integration` . `updated_at` as `app.integration.updatedAt` , `app` . `acl_role_id` as `app.aclRoleId` , `app.aclRole` . `id` as `app.aclRole.id` , `app.aclRole` . `name` as `app.aclRole.name` , `app.aclRole` . `description` as `app.aclRole.description` , `app.aclRole` . `privileges` as `app.aclRole.privileges` , `app.aclRole` . `deleted_at` as `app.aclRole.deletedAt` , `app.aclRole` . `created_at` as `app.aclRole.createdAt` , `app.aclRole` . `updated_at` as `app.aclRole.updatedAt` , `app` . `created_at` as `app.createdAt` , `app` . `updated_at` as `app.updatedAt` , `app.translation.label` , `app.translation.label` as `app.label` , `app.translation.description` , `app.translation.description` as `app.description` , `app.translation.privacyPolicyExtensions` , `app.translation.privacyPolicyExtensions` as `app.privacyPolicyExtensions` , `app.translation.customFields` , `app.translation.customFields` as `app.customFields` FROM `app` LEFT JOIN `integration` `app.integration` ON `app` . `integration_id` = `app.integration` . `id` LEFT JOIN `acl_role` `app.aclRole` ON `app` . `acl_role_id` = `app.aclRole` . `id` LEFT JOIN (SELECT `app.translation` . `app_id` , `app.translation` . `label` as `app.translation.label` , `app.translation` . `description` as `app.translation.description` , `app.translation` . `privacy_policy_extensions` as `app.translation.privacyPolicyExtensions` , `app.translation` . `custom_fields` as `app.translation.customFields` FROM `app_translation` `app.translation` WHERE `app.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `app.app_translation` ON `app.app_translation` . `app_id` = `app` . `id` WHERE (`app` . `name` = 'SwagInsiderPreviews' );
Copy
142
0.41 ms
SELECT `app` . `name` , `app` . `version` , `app` . `template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template` . `app_id` = `app` . `id`
WHERE `app` . `active` = 1 AND `app_template` . `active` = 1
SELECT `app` . `name` , `app` . `version` , `app` . `template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template` . `app_id` = `app` . `id`
WHERE `app` . `active` = 1 AND `app_template` . `active` = 1 ;
Copy
143
6.48 ms
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = ? ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id`
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
]
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id` ;
Copy
144
1.05 ms
SELECT `media` . `id` as `media.id` , `media` . `user_id` as `media.userId` , `media` . `media_folder_id` as `media.mediaFolderId` , `media` . `mime_type` as `media.mimeType` , `media` . `file_extension` as `media.fileExtension` , `media` . `uploaded_at` as `media.uploadedAt` , `media` . `file_name` as `media.fileName` , `media` . `file_size` as `media.fileSize` , `media` . `media_type` as `media.mediaTypeRaw` , `media` . `meta_data` as `media.metaData` , `media` . `config` as `media.config` , `media` . `path` as `media.path` , `media` . `private` as `media.private` , `media` . `thumbnails_ro` as `media.thumbnailsRo` , `media` . `created_at` as `media.createdAt` , `media` . `updated_at` as `media.updatedAt` , `media.translation.title` , `media.translation.title` as `media.title` , `media.translation.alt` , `media.translation.alt` as `media.alt` , `media.translation.customFields` , `media.translation.customFields` as `media.customFields` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media` . `media_folder_id` = `media.mediaFolder` . `id` LEFT JOIN (SELECT `media.translation` . `media_id` , `media.translation` . `alt` as `media.translation.alt` , `media.translation` . `title` as `media.translation.title` , `media.translation` . `custom_fields` as `media.translation.customFields` FROM `media_translation` `media.translation` WHERE `media.translation` . `language_id` = ? ) `media.media_translation` ON `media.media_translation` . `media_id` = `media` . `id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder` . `default_folder_id` = `media.mediaFolder.defaultFolder` . `id` WHERE (((`media` . `private` = ? OR (`media` . `private` = ? AND `media.mediaFolder.defaultFolder` . `entity` = ? )))) AND (`media` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
false
true
"product_download "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
]
SELECT `media` . `id` as `media.id` , `media` . `user_id` as `media.userId` , `media` . `media_folder_id` as `media.mediaFolderId` , `media` . `mime_type` as `media.mimeType` , `media` . `file_extension` as `media.fileExtension` , `media` . `uploaded_at` as `media.uploadedAt` , `media` . `file_name` as `media.fileName` , `media` . `file_size` as `media.fileSize` , `media` . `media_type` as `media.mediaTypeRaw` , `media` . `meta_data` as `media.metaData` , `media` . `config` as `media.config` , `media` . `path` as `media.path` , `media` . `private` as `media.private` , `media` . `thumbnails_ro` as `media.thumbnailsRo` , `media` . `created_at` as `media.createdAt` , `media` . `updated_at` as `media.updatedAt` , `media.translation.title` , `media.translation.title` as `media.title` , `media.translation.alt` , `media.translation.alt` as `media.alt` , `media.translation.customFields` , `media.translation.customFields` as `media.customFields` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media` . `media_folder_id` = `media.mediaFolder` . `id` LEFT JOIN (SELECT `media.translation` . `media_id` , `media.translation` . `alt` as `media.translation.alt` , `media.translation` . `title` as `media.translation.title` , `media.translation` . `custom_fields` as `media.translation.customFields` FROM `media_translation` `media.translation` WHERE `media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `media.media_translation` ON `media.media_translation` . `media_id` = `media` . `id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder` . `default_folder_id` = `media.mediaFolder.defaultFolder` . `id` WHERE (((`media` . `private` = 0 OR (`media` . `private` = 1 AND `media.mediaFolder.defaultFolder` . `entity` = 'product_download' )))) AND (`media` . `id` IN (0xF6C1EC87414941448E7F1812B347574F ));
Copy
145
0.89 ms
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = ? ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id` WHERE `theme` . `id` IN (? )
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"§AŒ}’’CW³\v g\x1D ò™jy "
]
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id` WHERE `theme` . `id` IN (0xA7418C7D92924357B30B671DF2996A79 );
Copy
146
5.01 ms
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = ? ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id`
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
]
SELECT `theme` . `id` as `theme.id` , `theme` . `technical_name` as `theme.technicalName` , `theme` . `name` as `theme.name` , `theme` . `author` as `theme.author` , `theme` . `preview_media_id` as `theme.previewMediaId` , `theme` . `parent_theme_id` as `theme.parentThemeId` , `theme` . `theme_json` as `theme.themeJson` , `theme` . `base_config` as `theme.baseConfig` , `theme` . `config_values` as `theme.configValues` , `theme` . `active` as `theme.active` , `theme` . `created_at` as `theme.createdAt` , `theme` . `updated_at` as `theme.updatedAt` , `theme.translation.description` , `theme.translation.description` as `theme.description` , `theme.translation.labels` , `theme.translation.labels` as `theme.labels` , `theme.translation.helpTexts` , `theme.translation.helpTexts` as `theme.helpTexts` , `theme.translation.customFields` , `theme.translation.customFields` as `theme.customFields` FROM `theme` LEFT JOIN (SELECT `theme.translation` . `theme_id` , `theme.translation` . `description` as `theme.translation.description` , `theme.translation` . `labels` as `theme.translation.labels` , `theme.translation` . `help_texts` as `theme.translation.helpTexts` , `theme.translation` . `custom_fields` as `theme.translation.customFields` FROM `theme_translation` `theme.translation` WHERE `theme.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `theme.theme_translation` ON `theme.theme_translation` . `theme_id` = `theme` . `id` ;
Copy
147
0.97 ms
SELECT `media` . `id` as `media.id` , `media` . `user_id` as `media.userId` , `media` . `media_folder_id` as `media.mediaFolderId` , `media` . `mime_type` as `media.mimeType` , `media` . `file_extension` as `media.fileExtension` , `media` . `uploaded_at` as `media.uploadedAt` , `media` . `file_name` as `media.fileName` , `media` . `file_size` as `media.fileSize` , `media` . `media_type` as `media.mediaTypeRaw` , `media` . `meta_data` as `media.metaData` , `media` . `config` as `media.config` , `media` . `path` as `media.path` , `media` . `private` as `media.private` , `media` . `thumbnails_ro` as `media.thumbnailsRo` , `media` . `created_at` as `media.createdAt` , `media` . `updated_at` as `media.updatedAt` , `media.translation.title` , `media.translation.title` as `media.title` , `media.translation.alt` , `media.translation.alt` as `media.alt` , `media.translation.customFields` , `media.translation.customFields` as `media.customFields` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media` . `media_folder_id` = `media.mediaFolder` . `id` LEFT JOIN (SELECT `media.translation` . `media_id` , `media.translation` . `alt` as `media.translation.alt` , `media.translation` . `title` as `media.translation.title` , `media.translation` . `custom_fields` as `media.translation.customFields` FROM `media_translation` `media.translation` WHERE `media.translation` . `language_id` = ? ) `media.media_translation` ON `media.media_translation` . `media_id` = `media` . `id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder` . `default_folder_id` = `media.mediaFolder.defaultFolder` . `id` WHERE (((`media` . `private` = ? OR (`media` . `private` = ? AND `media.mediaFolder.defaultFolder` . `entity` = ? )))) AND (`media` . `id` IN (? , ? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
false
true
"product_download "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
b"öÁì‡AIADŽ\x7F\x18\x12 ³GWO "
]
SELECT `media` . `id` as `media.id` , `media` . `user_id` as `media.userId` , `media` . `media_folder_id` as `media.mediaFolderId` , `media` . `mime_type` as `media.mimeType` , `media` . `file_extension` as `media.fileExtension` , `media` . `uploaded_at` as `media.uploadedAt` , `media` . `file_name` as `media.fileName` , `media` . `file_size` as `media.fileSize` , `media` . `media_type` as `media.mediaTypeRaw` , `media` . `meta_data` as `media.metaData` , `media` . `config` as `media.config` , `media` . `path` as `media.path` , `media` . `private` as `media.private` , `media` . `thumbnails_ro` as `media.thumbnailsRo` , `media` . `created_at` as `media.createdAt` , `media` . `updated_at` as `media.updatedAt` , `media.translation.title` , `media.translation.title` as `media.title` , `media.translation.alt` , `media.translation.alt` as `media.alt` , `media.translation.customFields` , `media.translation.customFields` as `media.customFields` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media` . `media_folder_id` = `media.mediaFolder` . `id` LEFT JOIN (SELECT `media.translation` . `media_id` , `media.translation` . `alt` as `media.translation.alt` , `media.translation` . `title` as `media.translation.title` , `media.translation` . `custom_fields` as `media.translation.customFields` FROM `media_translation` `media.translation` WHERE `media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `media.media_translation` ON `media.media_translation` . `media_id` = `media` . `id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder` . `default_folder_id` = `media.mediaFolder.defaultFolder` . `id` WHERE (((`media` . `private` = 0 OR (`media` . `private` = 1 AND `media.mediaFolder.defaultFolder` . `entity` = 'product_download' )))) AND (`media` . `id` IN (0xF6C1EC87414941448E7F1812B347574F , 0xF6C1EC87414941448E7F1812B347574F , 0xF6C1EC87414941448E7F1812B347574F , 0xF6C1EC87414941448E7F1812B347574F , 0xF6C1EC87414941448E7F1812B347574F ));
Copy
148
0.78 ms
SELECT LOWER (HEX (language . id )) AS array_key , LOWER (HEX (language . id )) AS id , locale . code , parentLocale . code AS parentCode , LOWER (HEX (language . parent_id )) parentId FROM language LEFT JOIN locale locale ON language . translation_code_id = locale . id LEFT JOIN language parentLanguage ON language . parent_id = parentLanguage . id LEFT JOIN locale parentLocale ON parentLanguage . translation_code_id = parentLocale . id
SELECT LOWER (HEX (language . id )) AS array_key , LOWER (HEX (language . id )) AS id , locale . code , parentLocale . code AS parentCode , LOWER (HEX (language . parent_id )) parentId FROM language LEFT JOIN locale locale ON language . translation_code_id = locale . id LEFT JOIN language parentLanguage ON language . parent_id = parentLanguage . id LEFT JOIN locale parentLocale ON parentLanguage . translation_code_id = parentLocale . id ;
Copy
149
0.26 ms
SELECT LOWER (HEX (id )) FROM snippet_set WHERE iso = ?
SELECT LOWER (HEX (id )) FROM snippet_set WHERE iso = 'de-DE' ;
Copy
150
0.19 ms
SELECT iso FROM snippet_set WHERE id = ?
Parameters :
[
b"¯w\÷ü_Iaª¨NgR!ÄQ "
]
SELECT iso FROM snippet_set WHERE id = 0xEE775CF6815F4961A6F94E6752218E51 ;
Copy
151
0.28 ms
SELECT LOWER (HEX (theme . id )) themeId , theme . technical_name as themeName , parentTheme . technical_name as parentThemeName , LOWER (HEX (parentTheme . parent_theme_id )) as grandParentThemeId
FROM sales_channel
LEFT JOIN theme_sales_channel ON sales_channel . id = theme_sales_channel . sales_channel_id
LEFT JOIN theme ON theme_sales_channel . theme_id = theme . id
LEFT JOIN theme AS parentTheme ON parentTheme . id = theme . parent_theme_id
WHERE sales_channel . id = ?
Parameters :
[
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT LOWER (HEX (theme . id )) themeId , theme . technical_name as themeName , parentTheme . technical_name as parentThemeName , LOWER (HEX (parentTheme . parent_theme_id )) as grandParentThemeId
FROM sales_channel
LEFT JOIN theme_sales_channel ON sales_channel . id = theme_sales_channel . sales_channel_id
LEFT JOIN theme ON theme_sales_channel . theme_id = theme . id
LEFT JOIN theme AS parentTheme ON parentTheme . id = theme . parent_theme_id
WHERE sales_channel . id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE
;
Copy
152
0.31 ms
SELECT `base_class` AS `baseClass` , `author`
FROM `plugin`
SELECT `base_class` AS `baseClass` , `author`
FROM `plugin`
;
Copy
153
1.31 ms
SELECT translation_key , value FROM snippet WHERE snippet_set_id = ?
Parameters :
[
b"¯w\÷ü_Iaª¨NgR!ÄQ "
]
SELECT translation_key , value FROM snippet WHERE snippet_set_id = 0xEE775CF6815F4961A6F94E6752218E51 ;
Copy
154
1.02 ms
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = ? ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` WHERE (`category` . `version_id` = ? ) AND (`category` . `id` IN (? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x1C ¶¾Xá5G\x11 …F1•Ú\e „) "
]
SELECT
`category` . `id` as `category.id` ,
`category` . `version_id` as `category.versionId` ,
`category` . `parent_id` as `category.parentId` ,
`category` . `parent_version_id` as `category.parentVersionId` ,
`category` . `after_category_id` as `category.afterCategoryId` ,
`category` . `after_category_version_id` as `category.afterCategoryVersionId` ,
`category` . `media_id` as `category.mediaId` ,
`category` . `display_nested_products` as `category.displayNestedProducts` ,
`category` . `auto_increment` as `category.autoIncrement` ,
`category` . `level` as `category.level` ,
`category` . `path` as `category.path` ,
`category` . `child_count` as `category.childCount` ,
`category` . `type` as `category.type` ,
`category` . `product_assignment_type` as `category.productAssignmentType` ,
`category` . `visible` as `category.visible` ,
`category` . `active` as `category.active` ,
`category` . `cms_page_id` as `category.cmsPageId` ,
`category` . `cms_page_version_id` as `category.cmsPageVersionId` ,
`category` . `product_stream_id` as `category.productStreamId` ,
`category` . `custom_entity_type_id` as `category.customEntityTypeId` ,
`category` . `created_at` as `category.createdAt` ,
`category` . `updated_at` as `category.updatedAt` ,
`category.translation.name` ,
`category.translation.name` as `category.name` ,
`category.translation.breadcrumb` ,
`category.translation.breadcrumb` as `category.breadcrumb` ,
`category.translation.slotConfig` ,
`category.translation.slotConfig` as `category.slotConfig` ,
`category.translation.linkType` ,
`category.translation.linkType` as `category.linkType` ,
`category.translation.internalLink` ,
`category.translation.internalLink` as `category.internalLink` ,
`category.translation.externalLink` ,
`category.translation.externalLink` as `category.externalLink` ,
`category.translation.linkNewTab` ,
`category.translation.linkNewTab` as `category.linkNewTab` ,
`category.translation.description` ,
`category.translation.description` as `category.description` ,
`category.translation.metaTitle` ,
`category.translation.metaTitle` as `category.metaTitle` ,
`category.translation.metaDescription` ,
`category.translation.metaDescription` as `category.metaDescription` ,
`category.translation.keywords` ,
`category.translation.keywords` as `category.keywords` ,
`category.translation.customFields` ,
`category.translation.customFields` as `category.customFields`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation` . `category_id` ,
`category.translation` . `category_version_id` ,
`category.translation` . `breadcrumb` as `category.translation.breadcrumb` ,
`category.translation` . `name` as `category.translation.name` ,
`category.translation` . `custom_fields` as `category.translation.customFields` ,
`category.translation` . `slot_config` as `category.translation.slotConfig` ,
`category.translation` . `link_type` as `category.translation.linkType` ,
`category.translation` . `internal_link` as `category.translation.internalLink` ,
`category.translation` . `external_link` as `category.translation.externalLink` ,
`category.translation` . `link_new_tab` as `category.translation.linkNewTab` ,
`category.translation` . `description` as `category.translation.description` ,
`category.translation` . `meta_title` as `category.translation.metaTitle` ,
`category.translation` . `meta_description` as `category.translation.metaDescription` ,
`category.translation` . `keywords` as `category.translation.keywords`
FROM
`category_translation` `category.translation`
WHERE
`category.translation` . `language_id` = ?
) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id`
AND `category.category_translation` . `category_version_id` = `category` . `version_id`
WHERE
(`category` . `version_id` = ? )
AND (
`category` . `id` IN (? )
)
Copy
SELECT `category` . `id` as `category.id` , `category` . `version_id` as `category.versionId` , `category` . `parent_id` as `category.parentId` , `category` . `parent_version_id` as `category.parentVersionId` , `category` . `after_category_id` as `category.afterCategoryId` , `category` . `after_category_version_id` as `category.afterCategoryVersionId` , `category` . `media_id` as `category.mediaId` , `category` . `display_nested_products` as `category.displayNestedProducts` , `category` . `auto_increment` as `category.autoIncrement` , `category` . `level` as `category.level` , `category` . `path` as `category.path` , `category` . `child_count` as `category.childCount` , `category` . `type` as `category.type` , `category` . `product_assignment_type` as `category.productAssignmentType` , `category` . `visible` as `category.visible` , `category` . `active` as `category.active` , `category` . `cms_page_id` as `category.cmsPageId` , `category` . `cms_page_version_id` as `category.cmsPageVersionId` , `category` . `product_stream_id` as `category.productStreamId` , `category` . `custom_entity_type_id` as `category.customEntityTypeId` , `category` . `created_at` as `category.createdAt` , `category` . `updated_at` as `category.updatedAt` , `category.translation.name` , `category.translation.name` as `category.name` , `category.translation.breadcrumb` , `category.translation.breadcrumb` as `category.breadcrumb` , `category.translation.slotConfig` , `category.translation.slotConfig` as `category.slotConfig` , `category.translation.linkType` , `category.translation.linkType` as `category.linkType` , `category.translation.internalLink` , `category.translation.internalLink` as `category.internalLink` , `category.translation.externalLink` , `category.translation.externalLink` as `category.externalLink` , `category.translation.linkNewTab` , `category.translation.linkNewTab` as `category.linkNewTab` , `category.translation.description` , `category.translation.description` as `category.description` , `category.translation.metaTitle` , `category.translation.metaTitle` as `category.metaTitle` , `category.translation.metaDescription` , `category.translation.metaDescription` as `category.metaDescription` , `category.translation.keywords` , `category.translation.keywords` as `category.keywords` , `category.translation.customFields` , `category.translation.customFields` as `category.customFields` FROM `category` LEFT JOIN (SELECT `category.translation` . `category_id` , `category.translation` . `category_version_id` , `category.translation` . `breadcrumb` as `category.translation.breadcrumb` , `category.translation` . `name` as `category.translation.name` , `category.translation` . `custom_fields` as `category.translation.customFields` , `category.translation` . `slot_config` as `category.translation.slotConfig` , `category.translation` . `link_type` as `category.translation.linkType` , `category.translation` . `internal_link` as `category.translation.internalLink` , `category.translation` . `external_link` as `category.translation.externalLink` , `category.translation` . `link_new_tab` as `category.translation.linkNewTab` , `category.translation` . `description` as `category.translation.description` , `category.translation` . `meta_title` as `category.translation.metaTitle` , `category.translation` . `meta_description` as `category.translation.metaDescription` , `category.translation` . `keywords` as `category.translation.keywords` FROM `category_translation` `category.translation` WHERE `category.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `category.category_translation` ON `category.category_translation` . `category_id` = `category` . `id` AND `category.category_translation` . `category_version_id` = `category` . `version_id` WHERE (`category` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`category` . `id` IN (0x1CB6BE58E135471185463195DA1B8429 ));
Copy
155
1.98 ms
SELECT seo_path_info , path_info , sales_channel_id FROM seo_url WHERE (seo_url . is_canonical = 1 ) AND (seo_url . path_info IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )) AND (seo_url . language_id = ? ) AND (seo_url . sales_channel_id = ? OR seo_url . sales_channel_id IS NULL ) AND (seo_url . is_deleted = 0 )
Parameters :
[
"/detail/018f5247e3737d4a9406fe0be274b735 "
"/navigation/ab06e7e1b44b4f13889c2c16b99086ab "
"/navigation/79044f99490e4f0797a59bc8473f7714 "
"/navigation/36dced16ee744a5381a3c2adb672d912 "
"/navigation/a2dec91249e041a1a7d44fba603ddbf5 "
"/navigation/2cc5959a9c2348a4abc50b511dc317df "
"/navigation/87e5b6ad4d084c67a2f034bf2cc41b62 "
"/navigation/b081a426fc21471f9251c1915798c3eb "
"/navigation/5a8b3a3eb6894be0a195cc7237c104d2 "
"/navigation/62f717cfa418483eb7ac31652e4002a5 "
"/navigation/1cb6be58e135471185463195da1b8429 "
"/navigation/39d356828cc44b5b9abe319ff956fe33 "
"/navigation/842c7e83ef7143119f20566754d4b984 "
"/navigation/59c9bcdd358c48048ac491fe6c911864 "
"/navigation/7f83d44c4f1a41d8823836043ddf2e28 "
"/navigation/0190ea34af187b9fb47a5032b858be10 "
"/navigation/66fd50d06c734ee7a6fa0d2349a85e82 "
"/navigation/76ad20dc21004323be3f398ca6d9d13b "
"/navigation/018c61d8357f7c76a926b936c086807d "
"/navigation/01920eece95174aca089ea431ad5e13f "
"/navigation/481a45d1951f447484d23f9a0fa9f05d "
"/account/recover "
"/navigation/5c9c1442a62742b880f395a80e6c9547 "
"/navigation/83eaeffafebd4c12aa7f1799b31d6e5c "
"/navigation/952f9fc54e3e450094f947db01624d33 "
"/navigation/b9ad5d9be1874eb798dc5a88f9d576b2 "
"/navigation/7914bca6097d4736a4296dec9ba8ad34 "
"/navigation/43c82b6e484843bcb04885dfd9ef6426 "
"/navigation/4b263b08b08047e0b05cf068ecf55b2b "
"/navigation/36abe3dc3ba647e29a44aa01e54727ee "
"/navigation/84e05522a5884dee91d9c38844f2e955 "
"/navigation/edfbc9742048415f9cdbcdf620e0b3ec "
b"/»_ââšMpªXTÎ|ãâ\v "
b"‚ëîBXkAý£2\x0F ֿ䨮 "
]
SELECT seo_path_info , path_info , sales_channel_id FROM seo_url WHERE (seo_url . is_canonical = 1 ) AND (seo_url . path_info IN ('/detail/018f5247e3737d4a9406fe0be274b735' , '/navigation/ab06e7e1b44b4f13889c2c16b99086ab' , '/navigation/79044f99490e4f0797a59bc8473f7714' , '/navigation/36dced16ee744a5381a3c2adb672d912' , '/navigation/a2dec91249e041a1a7d44fba603ddbf5' , '/navigation/2cc5959a9c2348a4abc50b511dc317df' , '/navigation/87e5b6ad4d084c67a2f034bf2cc41b62' , '/navigation/b081a426fc21471f9251c1915798c3eb' , '/navigation/5a8b3a3eb6894be0a195cc7237c104d2' , '/navigation/62f717cfa418483eb7ac31652e4002a5' , '/navigation/1cb6be58e135471185463195da1b8429' , '/navigation/39d356828cc44b5b9abe319ff956fe33' , '/navigation/842c7e83ef7143119f20566754d4b984' , '/navigation/59c9bcdd358c48048ac491fe6c911864' , '/navigation/7f83d44c4f1a41d8823836043ddf2e28' , '/navigation/0190ea34af187b9fb47a5032b858be10' , '/navigation/66fd50d06c734ee7a6fa0d2349a85e82' , '/navigation/76ad20dc21004323be3f398ca6d9d13b' , '/navigation/018c61d8357f7c76a926b936c086807d' , '/navigation/01920eece95174aca089ea431ad5e13f' , '/navigation/481a45d1951f447484d23f9a0fa9f05d' , '/account/recover' , '/navigation/5c9c1442a62742b880f395a80e6c9547' , '/navigation/83eaeffafebd4c12aa7f1799b31d6e5c' , '/navigation/952f9fc54e3e450094f947db01624d33' , '/navigation/b9ad5d9be1874eb798dc5a88f9d576b2' , '/navigation/7914bca6097d4736a4296dec9ba8ad34' , '/navigation/43c82b6e484843bcb04885dfd9ef6426' , '/navigation/4b263b08b08047e0b05cf068ecf55b2b' , '/navigation/36abe3dc3ba647e29a44aa01e54727ee' , '/navigation/84e05522a5884dee91d9c38844f2e955' , '/navigation/edfbc9742048415f9cdbcdf620e0b3ec' )) AND (seo_url . language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) AND (seo_url . sales_channel_id = 0x82EBEE42586B41FDA3320FD6BFE4A8AE OR seo_url . sales_channel_id IS NULL ) AND (seo_url . is_deleted = 0 );
Copy
156
0.75 ms
SELECT `rule` . `id` as `rule.id` , `rule` . `name` as `rule.name` , `rule` . `priority` as `rule.priority` , `rule` . `description` as `rule.description` , `rule` . `payload` as `rule.payload` , `rule` . `invalid` as `rule.invalid` , `rule` . `areas` as `rule.areas` , `rule` . `custom_fields` as `rule.customFields` , `rule` . `module_types` as `rule.moduleTypes` , `rule` . `created_at` as `rule.createdAt` , `rule` . `updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule` . `id` IN (? , ? , ? , ? , ? )
Parameters :
[
b"""
\x01 É\f 1ÿ½t·╣\n
ò1ÑgK~
"""
b"\x07 4ñÙþ\x17 E:ŠlP¾\x1C ¯ × "
b"ã(x܇UK3¬\x13 @‘\x0E Þ+\t "
b"æʃÊw@JÕŠI:–G\e\x14 & "
b"gõò\x13 ÌçMì¼+j¸ß™\x06 ‰ "
]
SELECT `rule` . `id` as `rule.id` , `rule` . `name` as `rule.name` , `rule` . `priority` as `rule.priority` , `rule` . `description` as `rule.description` , `rule` . `payload` as `rule.payload` , `rule` . `invalid` as `rule.invalid` , `rule` . `areas` as `rule.areas` , `rule` . `custom_fields` as `rule.customFields` , `rule` . `module_types` as `rule.moduleTypes` , `rule` . `created_at` as `rule.createdAt` , `rule` . `updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule` . `id` IN (0x01900C3198AB74FAB90A9531A5674B7E , 0x0734F1D9FE17453A8A6C50BE1CAFA0D7 , 0xE32878DC87554B33AC1340910EDE2B09 , 0xE6CA83CA77404AD58A493A96471B1426 , 0x67F5F213CCE74DECBC2B6AB8DF990689 );
Copy