1
1.09 ms
SELECT e0_ . id AS id_0 , e0_ . exchange_rate AS exchange_rate_1 , e0_ . last_automatic_update AS last_automatic_update_2 , e0_ . created_at AS created_at_3 , e0_ . updated_at AS updated_at_4 , e0_ . currency_from_id AS currency_from_id_5 , e0_ . currency_to_id AS currency_to_id_6 FROM exchange_rate e0_
SELECT e0_ . id AS id_0 , e0_ . exchange_rate AS exchange_rate_1 , e0_ . last_automatic_update AS last_automatic_update_2 , e0_ . created_at AS created_at_3 , e0_ . updated_at AS updated_at_4 , e0_ . currency_from_id AS currency_from_id_5 , e0_ . currency_to_id AS currency_to_id_6 FROM exchange_rate e0_ ;
Copy
2
2.02 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = ?
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = 1 ;
Copy
3
0.93 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = ?
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = 1 ;
Copy
4
0.77 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC ;
Copy
5
0.91 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = ?
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = 1 ;
Copy
6
3.84 ms
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . newsletter_consent AS newsletter_consent_14 , c0_ . gdpr_consent AS gdpr_consent_15 , c0_ . payment_method AS payment_method_16 , c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 , c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 , c0_ . created_at AS created_at_19 , c0_ . updated_at AS updated_at_20 , c0_ . address_street AS address_street_21 , c0_ . address_descriptive_number AS address_descriptive_number_22 , c0_ . address_city AS address_city_23 , c0_ . address_country AS address_country_24 , c0_ . address_zip_code AS address_zip_code_25 , c0_ . invoice_street AS invoice_street_26 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 , c0_ . invoice_city AS invoice_city_28 , c0_ . invoice_country AS invoice_country_29 , c0_ . invoice_zip_code AS invoice_zip_code_30 , c1_ . id AS id_31 , c1_ . quantity AS quantity_32 , c1_ . is_gift AS is_gift_33 , c1_ . created_at AS created_at_34 , c1_ . updated_at AS updated_at_35 , p2_ . id AS id_36 , p2_ . public_id AS public_id_37 , p2_ . code AS code_38 , p2_ . is_default AS is_default_39 , p2_ . weight_modification AS weight_modification_40 , p2_ . price_modification_amount AS price_modification_amount_41 , p2_ . price_modification_currency AS price_modification_currency_42 , p2_ . stock_stock AS stock_stock_43 , p2_ . stock_reserved AS stock_reserved_44 , p3_ . id AS id_45 , p3_ . public_id AS public_id_46 , p3_ . name AS name_47 , p3_ . description AS description_48 , p3_ . short_description AS short_description_49 , p3_ . code AS code_50 , p3_ . ean AS ean_51 , p3_ . unit AS unit_52 , p3_ . active AS active_53 , p3_ . can_be_bought AS can_be_bought_54 , p3_ . searchable AS searchable_55 , p3_ . show_price AS show_price_56 , p3_ . in_stock_text AS in_stock_text_57 , p3_ . out_of_stock_text AS out_of_stock_text_58 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 , p3_ . search_vector_cs AS search_vector_cs_61 , p3_ . search_vector_en AS search_vector_en_62 , p3_ . seo_title AS seo_title_63 , p3_ . seo_description AS seo_description_64 , p3_ . seo_url AS seo_url_65 , p3_ . stock_stock AS stock_stock_66 , p3_ . stock_reserved AS stock_reserved_67 , p3_ . logistic_weight AS logistic_weight_68 , p3_ . logistic_size_width AS logistic_size_width_69 , p3_ . logistic_size_height AS logistic_size_height_70 , p3_ . logistic_size_length AS logistic_size_length_71 , p3_ . price_amount AS price_amount_72 , p3_ . price_currency AS price_currency_73 , p3_ . purchase_price_amount AS purchase_price_amount_74 , p3_ . purchase_price_currency AS purchase_price_currency_75 , c0_ . customer_id AS customer_id_76 , c0_ . shipping_method_id AS shipping_method_id_77 , c0_ . discount_code_id AS discount_code_id_78 , c1_ . cart_id AS cart_id_79 , c1_ . product_variant_id AS product_variant_id_80 , p2_ . product_id AS product_id_81 , p3_ . vat_id AS vat_id_82 , p3_ . main_category_id AS main_category_id_83 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = ? AND c0_ . status = ? ORDER BY c1_ . id ASC
Parameters :
[
"2be9a38cc492dc3533b69fd0528995f4 "
"active "
]
SELECT
c0_ . id AS id_0 ,
c0_ . session_id AS session_id_1 ,
c0_ . status AS status_2 ,
c0_ . last_activity_at AS last_activity_at_3 ,
c0_ . email AS email_4 ,
c0_ . firstname AS firstname_5 ,
c0_ . lastname AS lastname_6 ,
c0_ . telephone AS telephone_7 ,
c0_ . company_name AS company_name_8 ,
c0_ . cin AS cin_9 ,
c0_ . vat_id AS vat_id_10 ,
c0_ . pickup_point_id AS pickup_point_id_11 ,
c0_ . pickup_point_name AS pickup_point_name_12 ,
c0_ . note AS note_13 ,
c0_ . newsletter_consent AS newsletter_consent_14 ,
c0_ . gdpr_consent AS gdpr_consent_15 ,
c0_ . payment_method AS payment_method_16 ,
c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 ,
c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 ,
c0_ . created_at AS created_at_19 ,
c0_ . updated_at AS updated_at_20 ,
c0_ . address_street AS address_street_21 ,
c0_ . address_descriptive_number AS address_descriptive_number_22 ,
c0_ . address_city AS address_city_23 ,
c0_ . address_country AS address_country_24 ,
c0_ . address_zip_code AS address_zip_code_25 ,
c0_ . invoice_street AS invoice_street_26 ,
c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 ,
c0_ . invoice_city AS invoice_city_28 ,
c0_ . invoice_country AS invoice_country_29 ,
c0_ . invoice_zip_code AS invoice_zip_code_30 ,
c1_ . id AS id_31 ,
c1_ . quantity AS quantity_32 ,
c1_ . is_gift AS is_gift_33 ,
c1_ . created_at AS created_at_34 ,
c1_ . updated_at AS updated_at_35 ,
p2_ . id AS id_36 ,
p2_ . public_id AS public_id_37 ,
p2_ . code AS code_38 ,
p2_ . is_default AS is_default_39 ,
p2_ . weight_modification AS weight_modification_40 ,
p2_ . price_modification_amount AS price_modification_amount_41 ,
p2_ . price_modification_currency AS price_modification_currency_42 ,
p2_ . stock_stock AS stock_stock_43 ,
p2_ . stock_reserved AS stock_reserved_44 ,
p3_ . id AS id_45 ,
p3_ . public_id AS public_id_46 ,
p3_ . name AS name_47 ,
p3_ . description AS description_48 ,
p3_ . short_description AS short_description_49 ,
p3_ . code AS code_50 ,
p3_ . ean AS ean_51 ,
p3_ . unit AS unit_52 ,
p3_ . active AS active_53 ,
p3_ . can_be_bought AS can_be_bought_54 ,
p3_ . searchable AS searchable_55 ,
p3_ . show_price AS show_price_56 ,
p3_ . in_stock_text AS in_stock_text_57 ,
p3_ . out_of_stock_text AS out_of_stock_text_58 ,
p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 ,
p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 ,
p3_ . search_vector_cs AS search_vector_cs_61 ,
p3_ . search_vector_en AS search_vector_en_62 ,
p3_ . seo_title AS seo_title_63 ,
p3_ . seo_description AS seo_description_64 ,
p3_ . seo_url AS seo_url_65 ,
p3_ . stock_stock AS stock_stock_66 ,
p3_ . stock_reserved AS stock_reserved_67 ,
p3_ . logistic_weight AS logistic_weight_68 ,
p3_ . logistic_size_width AS logistic_size_width_69 ,
p3_ . logistic_size_height AS logistic_size_height_70 ,
p3_ . logistic_size_length AS logistic_size_length_71 ,
p3_ . price_amount AS price_amount_72 ,
p3_ . price_currency AS price_currency_73 ,
p3_ . purchase_price_amount AS purchase_price_amount_74 ,
p3_ . purchase_price_currency AS purchase_price_currency_75 ,
c0_ . customer_id AS customer_id_76 ,
c0_ . shipping_method_id AS shipping_method_id_77 ,
c0_ . discount_code_id AS discount_code_id_78 ,
c1_ . cart_id AS cart_id_79 ,
c1_ . product_variant_id AS product_variant_id_80 ,
p2_ . product_id AS product_id_81 ,
p3_ . vat_id AS vat_id_82 ,
p3_ . main_category_id AS main_category_id_83
FROM
cart c0_
LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id
LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id
LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id
WHERE
c0_ . session_id = ?
AND c0_ . status = ?
ORDER BY
c1_ . id ASC
Copy
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . newsletter_consent AS newsletter_consent_14 , c0_ . gdpr_consent AS gdpr_consent_15 , c0_ . payment_method AS payment_method_16 , c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 , c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 , c0_ . created_at AS created_at_19 , c0_ . updated_at AS updated_at_20 , c0_ . address_street AS address_street_21 , c0_ . address_descriptive_number AS address_descriptive_number_22 , c0_ . address_city AS address_city_23 , c0_ . address_country AS address_country_24 , c0_ . address_zip_code AS address_zip_code_25 , c0_ . invoice_street AS invoice_street_26 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 , c0_ . invoice_city AS invoice_city_28 , c0_ . invoice_country AS invoice_country_29 , c0_ . invoice_zip_code AS invoice_zip_code_30 , c1_ . id AS id_31 , c1_ . quantity AS quantity_32 , c1_ . is_gift AS is_gift_33 , c1_ . created_at AS created_at_34 , c1_ . updated_at AS updated_at_35 , p2_ . id AS id_36 , p2_ . public_id AS public_id_37 , p2_ . code AS code_38 , p2_ . is_default AS is_default_39 , p2_ . weight_modification AS weight_modification_40 , p2_ . price_modification_amount AS price_modification_amount_41 , p2_ . price_modification_currency AS price_modification_currency_42 , p2_ . stock_stock AS stock_stock_43 , p2_ . stock_reserved AS stock_reserved_44 , p3_ . id AS id_45 , p3_ . public_id AS public_id_46 , p3_ . name AS name_47 , p3_ . description AS description_48 , p3_ . short_description AS short_description_49 , p3_ . code AS code_50 , p3_ . ean AS ean_51 , p3_ . unit AS unit_52 , p3_ . active AS active_53 , p3_ . can_be_bought AS can_be_bought_54 , p3_ . searchable AS searchable_55 , p3_ . show_price AS show_price_56 , p3_ . in_stock_text AS in_stock_text_57 , p3_ . out_of_stock_text AS out_of_stock_text_58 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 , p3_ . search_vector_cs AS search_vector_cs_61 , p3_ . search_vector_en AS search_vector_en_62 , p3_ . seo_title AS seo_title_63 , p3_ . seo_description AS seo_description_64 , p3_ . seo_url AS seo_url_65 , p3_ . stock_stock AS stock_stock_66 , p3_ . stock_reserved AS stock_reserved_67 , p3_ . logistic_weight AS logistic_weight_68 , p3_ . logistic_size_width AS logistic_size_width_69 , p3_ . logistic_size_height AS logistic_size_height_70 , p3_ . logistic_size_length AS logistic_size_length_71 , p3_ . price_amount AS price_amount_72 , p3_ . price_currency AS price_currency_73 , p3_ . purchase_price_amount AS purchase_price_amount_74 , p3_ . purchase_price_currency AS purchase_price_currency_75 , c0_ . customer_id AS customer_id_76 , c0_ . shipping_method_id AS shipping_method_id_77 , c0_ . discount_code_id AS discount_code_id_78 , c1_ . cart_id AS cart_id_79 , c1_ . product_variant_id AS product_variant_id_80 , p2_ . product_id AS product_id_81 , p3_ . vat_id AS vat_id_82 , p3_ . main_category_id AS main_category_id_83 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = '2be9a38cc492dc3533b69fd0528995f4' AND c0_ . status = 'active' ORDER BY c1_ . id ASC ;
Copy
7
0.25 ms
"START TRANSACTION"
"START TRANSACTION" ;
Copy
8
0.81 ms
INSERT INTO cart (id , session_id , status , last_activity_at , email , firstname , lastname , telephone , company_name , cin , vat_id , pickup_point_id , pickup_point_name , note , newsletter_consent , gdpr_consent , payment_method , tracking_heureka_opt_out , tracking_zbozi_opt_in , created_at , updated_at , address_street , address_descriptive_number , address_city , address_country , address_zip_code , invoice_street , invoice_descriptive_number , invoice_city , invoice_country , invoice_zip_code , customer_id , shipping_method_id , discount_code_id ) VALUES (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
"7a2f6132-086d-4aa4-b47e-a007e1361bbd "
"2be9a38cc492dc3533b69fd0528995f4 "
"active "
"2026-07-09 04:30:59 "
null
null
null
null
null
null
null
null
null
null
0
0
null
null
null
"2026-07-09 04:30:59 "
"2026-07-09 04:30:59 "
null
null
null
null
null
null
null
null
null
null
null
null
null
]
INSERT INTO cart (
id , session_id , status , last_activity_at ,
email , firstname , lastname , telephone ,
company_name , cin , vat_id , pickup_point_id ,
pickup_point_name , note , newsletter_consent ,
gdpr_consent , payment_method , tracking_heureka_opt_out ,
tracking_zbozi_opt_in , created_at ,
updated_at , address_street , address_descriptive_number ,
address_city , address_country , address_zip_code ,
invoice_street , invoice_descriptive_number ,
invoice_city , invoice_country , invoice_zip_code ,
customer_id , shipping_method_id ,
discount_code_id
)
VALUES
(
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ?
)
Copy
INSERT INTO cart (id , session_id , status , last_activity_at , email , firstname , lastname , telephone , company_name , cin , vat_id , pickup_point_id , pickup_point_name , note , newsletter_consent , gdpr_consent , payment_method , tracking_heureka_opt_out , tracking_zbozi_opt_in , created_at , updated_at , address_street , address_descriptive_number , address_city , address_country , address_zip_code , invoice_street , invoice_descriptive_number , invoice_city , invoice_country , invoice_zip_code , customer_id , shipping_method_id , discount_code_id ) VALUES ('7a2f6132-086d-4aa4-b47e-a007e1361bbd' , '2be9a38cc492dc3533b69fd0528995f4' , 'active' , '2026-07-09 04:30:59' , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , 0 , 0 , NULL , NULL , NULL , '2026-07-09 04:30:59' , '2026-07-09 04:30:59' , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL );
Copy
9
0.79 ms
"COMMIT"
10
1.54 ms
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 , f1_ . id AS id_12 , f1_ . size AS size_13 , f1_ . mime_type AS mime_type_14 , f1_ . name AS name_15 , c0_ . image_id AS image_id_16 , c0_ . tree_root AS tree_root_17 , c0_ . parent_id AS parent_id_18 FROM category c0_ LEFT JOIN file f1_ ON c0_ . image_id = f1_ . id WHERE c0_ . parent_id IS NULL ORDER BY c0_ . position ASC
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 , f1_ . id AS id_12 , f1_ . size AS size_13 , f1_ . mime_type AS mime_type_14 , f1_ . name AS name_15 , c0_ . image_id AS image_id_16 , c0_ . tree_root AS tree_root_17 , c0_ . parent_id AS parent_id_18 FROM category c0_ LEFT JOIN file f1_ ON c0_ . image_id = f1_ . id WHERE c0_ . parent_id IS NULL ORDER BY c0_ . position ASC ;
Copy
11
2.20 ms
SELECT f0_ . id AS id_0 , f0_ . name AS name_1 , f0_ . type AS type_2 , f0_ . is_enabled AS is_enabled_3 , p1_ . id AS id_4 , p1_ . name AS name_5 , p1_ . slug AS slug_6 , p1_ . position AS position_7 , p2_ . id AS id_8 , p2_ . name AS name_9 , p2_ . slug AS slug_10 , p2_ . position AS position_11 , f0_ . entity AS entity_12 , f0_ . parameter_id AS parameter_id_13 , p2_ . parameter_id AS parameter_id_14 FROM filter_configuration f0_ LEFT JOIN parameter p1_ ON f0_ . parameter_id = p1_ . id LEFT JOIN parameter_value p2_ ON p1_ . id = p2_ . parameter_id WHERE (f0_ . is_enabled = ? ) AND f0_ . entity IN ('parameter' ) ORDER BY f0_ . name ASC
SELECT f0_ . id AS id_0 , f0_ . name AS name_1 , f0_ . type AS type_2 , f0_ . is_enabled AS is_enabled_3 , p1_ . id AS id_4 , p1_ . name AS name_5 , p1_ . slug AS slug_6 , p1_ . position AS position_7 , p2_ . id AS id_8 , p2_ . name AS name_9 , p2_ . slug AS slug_10 , p2_ . position AS position_11 , f0_ . entity AS entity_12 , f0_ . parameter_id AS parameter_id_13 , p2_ . parameter_id AS parameter_id_14 FROM filter_configuration f0_ LEFT JOIN parameter p1_ ON f0_ . parameter_id = p1_ . id LEFT JOIN parameter_value p2_ ON p1_ . id = p2_ . parameter_id WHERE (f0_ . is_enabled = 1 ) AND f0_ . entity IN ('parameter' ) ORDER BY f0_ . name ASC ;
Copy
12
1.58 ms
SELECT f0_ . id AS id_0 , f0_ . name AS name_1 , f0_ . type AS type_2 , f0_ . is_enabled AS is_enabled_3 , v1_ . id AS id_4 , v1_ . name AS name_5 , v1_ . slug AS slug_6 , v1_ . type AS type_7 , v1_ . position AS position_8 , v2_ . id AS id_9 , v2_ . name AS name_10 , v2_ . slug AS slug_11 , v2_ . color AS color_12 , v2_ . position AS position_13 , f0_ . entity AS entity_14 , f0_ . variant_id AS variant_id_15 , v2_ . variant_id AS variant_id_16 FROM filter_configuration f0_ LEFT JOIN variant v1_ ON f0_ . variant_id = v1_ . id LEFT JOIN variant_value v2_ ON v1_ . id = v2_ . variant_id WHERE (f0_ . is_enabled = ? ) AND f0_ . entity IN ('variant' ) ORDER BY f0_ . name ASC
SELECT f0_ . id AS id_0 , f0_ . name AS name_1 , f0_ . type AS type_2 , f0_ . is_enabled AS is_enabled_3 , v1_ . id AS id_4 , v1_ . name AS name_5 , v1_ . slug AS slug_6 , v1_ . type AS type_7 , v1_ . position AS position_8 , v2_ . id AS id_9 , v2_ . name AS name_10 , v2_ . slug AS slug_11 , v2_ . color AS color_12 , v2_ . position AS position_13 , f0_ . entity AS entity_14 , f0_ . variant_id AS variant_id_15 , v2_ . variant_id AS variant_id_16 FROM filter_configuration f0_ LEFT JOIN variant v1_ ON f0_ . variant_id = v1_ . id LEFT JOIN variant_value v2_ ON v1_ . id = v2_ . variant_id WHERE (f0_ . is_enabled = 1 ) AND f0_ . entity IN ('variant' ) ORDER BY f0_ . name ASC ;
Copy
13
4.27 ms
SELECT DISTINCT id_0 , MIN (sclr_81 ) AS dctrn_minrownum FROM (SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 , ROW_NUMBER () OVER (ORDER BY (p0_ . name - > > ? ) ASC , p0_ . id ASC ) AS sclr_81 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 ) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 12
SELECT
DISTINCT id_0 ,
MIN (sclr_81 ) AS dctrn_minrownum
FROM
(
SELECT
p0_ . id AS id_0 ,
p0_ . public_id AS public_id_1 ,
p0_ . name AS name_2 ,
p0_ . description AS description_3 ,
p0_ . short_description AS short_description_4 ,
p0_ . code AS code_5 ,
p0_ . ean AS ean_6 ,
p0_ . unit AS unit_7 ,
p0_ . active AS active_8 ,
p0_ . can_be_bought AS can_be_bought_9 ,
p0_ . searchable AS searchable_10 ,
p0_ . show_price AS show_price_11 ,
p0_ . in_stock_text AS in_stock_text_12 ,
p0_ . out_of_stock_text AS out_of_stock_text_13 ,
p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 ,
p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 ,
p0_ . search_vector_cs AS search_vector_cs_16 ,
p0_ . search_vector_en AS search_vector_en_17 ,
p0_ . seo_title AS seo_title_18 ,
p0_ . seo_description AS seo_description_19 ,
p0_ . seo_url AS seo_url_20 ,
p0_ . stock_stock AS stock_stock_21 ,
p0_ . stock_reserved AS stock_reserved_22 ,
p0_ . logistic_weight AS logistic_weight_23 ,
p0_ . logistic_size_width AS logistic_size_width_24 ,
p0_ . logistic_size_height AS logistic_size_height_25 ,
p0_ . logistic_size_length AS logistic_size_length_26 ,
p0_ . price_amount AS price_amount_27 ,
p0_ . price_currency AS price_currency_28 ,
p0_ . purchase_price_amount AS purchase_price_amount_29 ,
p0_ . purchase_price_currency AS purchase_price_currency_30 ,
p1_ . id AS id_31 ,
p1_ . public_id AS public_id_32 ,
p1_ . code AS code_33 ,
p1_ . is_default AS is_default_34 ,
p1_ . weight_modification AS weight_modification_35 ,
p1_ . price_modification_amount AS price_modification_amount_36 ,
p1_ . price_modification_currency AS price_modification_currency_37 ,
p1_ . stock_stock AS stock_stock_38 ,
p1_ . stock_reserved AS stock_reserved_39 ,
v2_ . id AS id_40 ,
v2_ . name AS name_41 ,
v2_ . slug AS slug_42 ,
v2_ . color AS color_43 ,
v2_ . position AS position_44 ,
v3_ . id AS id_45 ,
v3_ . name AS name_46 ,
v3_ . slug AS slug_47 ,
v3_ . type AS type_48 ,
v3_ . position AS position_49 ,
p4_ . id AS id_50 ,
p4_ . custom_value AS custom_value_51 ,
p5_ . id AS id_52 ,
p5_ . name AS name_53 ,
p5_ . slug AS slug_54 ,
p5_ . position AS position_55 ,
p6_ . id AS id_56 ,
p6_ . name AS name_57 ,
p6_ . slug AS slug_58 ,
p6_ . position AS position_59 ,
c7_ . id AS id_60 ,
c7_ . public_id AS public_id_61 ,
c7_ . name AS name_62 ,
c7_ . slug AS slug_63 ,
c7_ . description AS description_64 ,
c7_ . lft AS lft_65 ,
c7_ . lvl AS lvl_66 ,
c7_ . rgt AS rgt_67 ,
c7_ . position AS position_68 ,
c7_ . seo_title AS seo_title_69 ,
c7_ . seo_description AS seo_description_70 ,
c7_ . seo_url AS seo_url_71 ,
p8_ . id AS id_72 ,
p8_ . amount AS amount_73 ,
p8_ . type AS type_74 ,
p8_ . created_at AS created_at_75 ,
p8_ . updated_at AS updated_at_76 ,
c9_ . code AS code_77 ,
c9_ . is_default AS is_default_78 ,
c9_ . is_active AS is_active_79 ,
c9_ . decimal_places AS decimal_places_80 ,
ROW_NUMBER () OVER (
ORDER BY
(p0_ . name - > > ? ) ASC ,
p0_ . id ASC
) AS sclr_81
FROM
product p0_
LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id
LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id
LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id
LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id
LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id
LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id
LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id
LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id
LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id
LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code
WHERE
p0_ . active = true
AND (
SELECT
COUNT (* )
FROM
product_category p11_
WHERE
p11_ . product_id = p0_ . id
) > 0
) dctrn_result
GROUP BY
id_0
ORDER BY
dctrn_minrownum ASC
LIMIT
12
Copy
SELECT DISTINCT id_0 , MIN (sclr_81 ) AS dctrn_minrownum FROM (SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 , ROW_NUMBER () OVER (ORDER BY (p0_ . name - > > 'cs' ) ASC , p0_ . id ASC ) AS sclr_81 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 ) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 12 ;
Copy
14
5.48 ms
SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 , p0_ . vat_id AS vat_id_81 , p0_ . main_category_id AS main_category_id_82 , p1_ . product_id AS product_id_83 , v2_ . variant_id AS variant_id_84 , p4_ . product_id AS product_id_85 , p4_ . parameter_id AS parameter_id_86 , p4_ . parameter_value_id AS parameter_value_id_87 , p6_ . parameter_id AS parameter_id_88 , c7_ . image_id AS image_id_89 , c7_ . tree_root AS tree_root_90 , c7_ . parent_id AS parent_id_91 , p8_ . product_id AS product_id_92 , p8_ . currency_code AS currency_code_93 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 AND p0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY (p0_ . name - > > ? ) ASC , p0_ . id ASC
Parameters :
[
"7a79ea94-236b-4062-a3b5-5a047d63c05f "
"7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f "
"d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50 "
"0a1b2c3d-0001-4000-8000-000000000003 "
"0a1b2c3d-0001-4000-8000-000000000008 "
"0a1b2c3d-0001-4000-8000-000000000006 "
"9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f "
"0a1b2c3d-0001-4000-8000-000000000009 "
"0a1b2c3d-0001-4000-8000-000000000007 "
"2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f "
"76a82726-403f-48b7-8179-e9c93c33b6cd "
"8e2faafb-53ae-47fd-971e-71abcfc6d912 "
"cs "
]
SELECT
p0_ . id AS id_0 ,
p0_ . public_id AS public_id_1 ,
p0_ . name AS name_2 ,
p0_ . description AS description_3 ,
p0_ . short_description AS short_description_4 ,
p0_ . code AS code_5 ,
p0_ . ean AS ean_6 ,
p0_ . unit AS unit_7 ,
p0_ . active AS active_8 ,
p0_ . can_be_bought AS can_be_bought_9 ,
p0_ . searchable AS searchable_10 ,
p0_ . show_price AS show_price_11 ,
p0_ . in_stock_text AS in_stock_text_12 ,
p0_ . out_of_stock_text AS out_of_stock_text_13 ,
p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 ,
p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 ,
p0_ . search_vector_cs AS search_vector_cs_16 ,
p0_ . search_vector_en AS search_vector_en_17 ,
p0_ . seo_title AS seo_title_18 ,
p0_ . seo_description AS seo_description_19 ,
p0_ . seo_url AS seo_url_20 ,
p0_ . stock_stock AS stock_stock_21 ,
p0_ . stock_reserved AS stock_reserved_22 ,
p0_ . logistic_weight AS logistic_weight_23 ,
p0_ . logistic_size_width AS logistic_size_width_24 ,
p0_ . logistic_size_height AS logistic_size_height_25 ,
p0_ . logistic_size_length AS logistic_size_length_26 ,
p0_ . price_amount AS price_amount_27 ,
p0_ . price_currency AS price_currency_28 ,
p0_ . purchase_price_amount AS purchase_price_amount_29 ,
p0_ . purchase_price_currency AS purchase_price_currency_30 ,
p1_ . id AS id_31 ,
p1_ . public_id AS public_id_32 ,
p1_ . code AS code_33 ,
p1_ . is_default AS is_default_34 ,
p1_ . weight_modification AS weight_modification_35 ,
p1_ . price_modification_amount AS price_modification_amount_36 ,
p1_ . price_modification_currency AS price_modification_currency_37 ,
p1_ . stock_stock AS stock_stock_38 ,
p1_ . stock_reserved AS stock_reserved_39 ,
v2_ . id AS id_40 ,
v2_ . name AS name_41 ,
v2_ . slug AS slug_42 ,
v2_ . color AS color_43 ,
v2_ . position AS position_44 ,
v3_ . id AS id_45 ,
v3_ . name AS name_46 ,
v3_ . slug AS slug_47 ,
v3_ . type AS type_48 ,
v3_ . position AS position_49 ,
p4_ . id AS id_50 ,
p4_ . custom_value AS custom_value_51 ,
p5_ . id AS id_52 ,
p5_ . name AS name_53 ,
p5_ . slug AS slug_54 ,
p5_ . position AS position_55 ,
p6_ . id AS id_56 ,
p6_ . name AS name_57 ,
p6_ . slug AS slug_58 ,
p6_ . position AS position_59 ,
c7_ . id AS id_60 ,
c7_ . public_id AS public_id_61 ,
c7_ . name AS name_62 ,
c7_ . slug AS slug_63 ,
c7_ . description AS description_64 ,
c7_ . lft AS lft_65 ,
c7_ . lvl AS lvl_66 ,
c7_ . rgt AS rgt_67 ,
c7_ . position AS position_68 ,
c7_ . seo_title AS seo_title_69 ,
c7_ . seo_description AS seo_description_70 ,
c7_ . seo_url AS seo_url_71 ,
p8_ . id AS id_72 ,
p8_ . amount AS amount_73 ,
p8_ . type AS type_74 ,
p8_ . created_at AS created_at_75 ,
p8_ . updated_at AS updated_at_76 ,
c9_ . code AS code_77 ,
c9_ . is_default AS is_default_78 ,
c9_ . is_active AS is_active_79 ,
c9_ . decimal_places AS decimal_places_80 ,
p0_ . vat_id AS vat_id_81 ,
p0_ . main_category_id AS main_category_id_82 ,
p1_ . product_id AS product_id_83 ,
v2_ . variant_id AS variant_id_84 ,
p4_ . product_id AS product_id_85 ,
p4_ . parameter_id AS parameter_id_86 ,
p4_ . parameter_value_id AS parameter_value_id_87 ,
p6_ . parameter_id AS parameter_id_88 ,
c7_ . image_id AS image_id_89 ,
c7_ . tree_root AS tree_root_90 ,
c7_ . parent_id AS parent_id_91 ,
p8_ . product_id AS product_id_92 ,
p8_ . currency_code AS currency_code_93
FROM
product p0_
LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id
LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id
LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id
LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id
LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id
LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id
LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id
LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id
LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id
LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code
WHERE
p0_ . active = true
AND (
SELECT
COUNT (* )
FROM
product_category p11_
WHERE
p11_ . product_id = p0_ . id
) > 0
AND p0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
ORDER BY
(p0_ . name - > > ? ) ASC ,
p0_ . id ASC
Copy
SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 , p0_ . vat_id AS vat_id_81 , p0_ . main_category_id AS main_category_id_82 , p1_ . product_id AS product_id_83 , v2_ . variant_id AS variant_id_84 , p4_ . product_id AS product_id_85 , p4_ . parameter_id AS parameter_id_86 , p4_ . parameter_value_id AS parameter_value_id_87 , p6_ . parameter_id AS parameter_id_88 , c7_ . image_id AS image_id_89 , c7_ . tree_root AS tree_root_90 , c7_ . parent_id AS parent_id_91 , p8_ . product_id AS product_id_92 , p8_ . currency_code AS currency_code_93 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 AND p0_ . id IN ('7a79ea94-236b-4062-a3b5-5a047d63c05f' , '7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f' , 'd1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50' , '0a1b2c3d-0001-4000-8000-000000000003' , '0a1b2c3d-0001-4000-8000-000000000008' , '0a1b2c3d-0001-4000-8000-000000000006' , '9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f' , '0a1b2c3d-0001-4000-8000-000000000009' , '0a1b2c3d-0001-4000-8000-000000000007' , '2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f' , '76a82726-403f-48b7-8179-e9c93c33b6cd' , '8e2faafb-53ae-47fd-971e-71abcfc6d912' ) ORDER BY (p0_ . name - > > 'cs' ) ASC , p0_ . id ASC ;
Copy
15
3.02 ms
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 ORDER BY (p0_ . name - > > ? ) ASC , p0_ . id ASC ) dctrn_result ) dctrn_table
SELECT
COUNT (* ) AS dctrn_count
FROM
(
SELECT
DISTINCT id_0
FROM
(
SELECT
p0_ . id AS id_0 ,
p0_ . public_id AS public_id_1 ,
p0_ . name AS name_2 ,
p0_ . description AS description_3 ,
p0_ . short_description AS short_description_4 ,
p0_ . code AS code_5 ,
p0_ . ean AS ean_6 ,
p0_ . unit AS unit_7 ,
p0_ . active AS active_8 ,
p0_ . can_be_bought AS can_be_bought_9 ,
p0_ . searchable AS searchable_10 ,
p0_ . show_price AS show_price_11 ,
p0_ . in_stock_text AS in_stock_text_12 ,
p0_ . out_of_stock_text AS out_of_stock_text_13 ,
p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 ,
p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 ,
p0_ . search_vector_cs AS search_vector_cs_16 ,
p0_ . search_vector_en AS search_vector_en_17 ,
p0_ . seo_title AS seo_title_18 ,
p0_ . seo_description AS seo_description_19 ,
p0_ . seo_url AS seo_url_20 ,
p0_ . stock_stock AS stock_stock_21 ,
p0_ . stock_reserved AS stock_reserved_22 ,
p0_ . logistic_weight AS logistic_weight_23 ,
p0_ . logistic_size_width AS logistic_size_width_24 ,
p0_ . logistic_size_height AS logistic_size_height_25 ,
p0_ . logistic_size_length AS logistic_size_length_26 ,
p0_ . price_amount AS price_amount_27 ,
p0_ . price_currency AS price_currency_28 ,
p0_ . purchase_price_amount AS purchase_price_amount_29 ,
p0_ . purchase_price_currency AS purchase_price_currency_30 ,
p1_ . id AS id_31 ,
p1_ . public_id AS public_id_32 ,
p1_ . code AS code_33 ,
p1_ . is_default AS is_default_34 ,
p1_ . weight_modification AS weight_modification_35 ,
p1_ . price_modification_amount AS price_modification_amount_36 ,
p1_ . price_modification_currency AS price_modification_currency_37 ,
p1_ . stock_stock AS stock_stock_38 ,
p1_ . stock_reserved AS stock_reserved_39 ,
v2_ . id AS id_40 ,
v2_ . name AS name_41 ,
v2_ . slug AS slug_42 ,
v2_ . color AS color_43 ,
v2_ . position AS position_44 ,
v3_ . id AS id_45 ,
v3_ . name AS name_46 ,
v3_ . slug AS slug_47 ,
v3_ . type AS type_48 ,
v3_ . position AS position_49 ,
p4_ . id AS id_50 ,
p4_ . custom_value AS custom_value_51 ,
p5_ . id AS id_52 ,
p5_ . name AS name_53 ,
p5_ . slug AS slug_54 ,
p5_ . position AS position_55 ,
p6_ . id AS id_56 ,
p6_ . name AS name_57 ,
p6_ . slug AS slug_58 ,
p6_ . position AS position_59 ,
c7_ . id AS id_60 ,
c7_ . public_id AS public_id_61 ,
c7_ . name AS name_62 ,
c7_ . slug AS slug_63 ,
c7_ . description AS description_64 ,
c7_ . lft AS lft_65 ,
c7_ . lvl AS lvl_66 ,
c7_ . rgt AS rgt_67 ,
c7_ . position AS position_68 ,
c7_ . seo_title AS seo_title_69 ,
c7_ . seo_description AS seo_description_70 ,
c7_ . seo_url AS seo_url_71 ,
p8_ . id AS id_72 ,
p8_ . amount AS amount_73 ,
p8_ . type AS type_74 ,
p8_ . created_at AS created_at_75 ,
p8_ . updated_at AS updated_at_76 ,
c9_ . code AS code_77 ,
c9_ . is_default AS is_default_78 ,
c9_ . is_active AS is_active_79 ,
c9_ . decimal_places AS decimal_places_80
FROM
product p0_
LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id
LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id
LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id
LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id
LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id
LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id
LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id
LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id
LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id
LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code
WHERE
p0_ . active = true
AND (
SELECT
COUNT (* )
FROM
product_category p11_
WHERE
p11_ . product_id = p0_ . id
) > 0
ORDER BY
(p0_ . name - > > ? ) ASC ,
p0_ . id ASC
) dctrn_result
) dctrn_table
Copy
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_ . id AS id_0 , p0_ . public_id AS public_id_1 , p0_ . name AS name_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . code AS code_5 , p0_ . ean AS ean_6 , p0_ . unit AS unit_7 , p0_ . active AS active_8 , p0_ . can_be_bought AS can_be_bought_9 , p0_ . searchable AS searchable_10 , p0_ . show_price AS show_price_11 , p0_ . in_stock_text AS in_stock_text_12 , p0_ . out_of_stock_text AS out_of_stock_text_13 , p0_ . filter_parameter_value_ids AS filter_parameter_value_ids_14 , p0_ . filter_variant_value_ids AS filter_variant_value_ids_15 , p0_ . search_vector_cs AS search_vector_cs_16 , p0_ . search_vector_en AS search_vector_en_17 , p0_ . seo_title AS seo_title_18 , p0_ . seo_description AS seo_description_19 , p0_ . seo_url AS seo_url_20 , p0_ . stock_stock AS stock_stock_21 , p0_ . stock_reserved AS stock_reserved_22 , p0_ . logistic_weight AS logistic_weight_23 , p0_ . logistic_size_width AS logistic_size_width_24 , p0_ . logistic_size_height AS logistic_size_height_25 , p0_ . logistic_size_length AS logistic_size_length_26 , p0_ . price_amount AS price_amount_27 , p0_ . price_currency AS price_currency_28 , p0_ . purchase_price_amount AS purchase_price_amount_29 , p0_ . purchase_price_currency AS purchase_price_currency_30 , p1_ . id AS id_31 , p1_ . public_id AS public_id_32 , p1_ . code AS code_33 , p1_ . is_default AS is_default_34 , p1_ . weight_modification AS weight_modification_35 , p1_ . price_modification_amount AS price_modification_amount_36 , p1_ . price_modification_currency AS price_modification_currency_37 , p1_ . stock_stock AS stock_stock_38 , p1_ . stock_reserved AS stock_reserved_39 , v2_ . id AS id_40 , v2_ . name AS name_41 , v2_ . slug AS slug_42 , v2_ . color AS color_43 , v2_ . position AS position_44 , v3_ . id AS id_45 , v3_ . name AS name_46 , v3_ . slug AS slug_47 , v3_ . type AS type_48 , v3_ . position AS position_49 , p4_ . id AS id_50 , p4_ . custom_value AS custom_value_51 , p5_ . id AS id_52 , p5_ . name AS name_53 , p5_ . slug AS slug_54 , p5_ . position AS position_55 , p6_ . id AS id_56 , p6_ . name AS name_57 , p6_ . slug AS slug_58 , p6_ . position AS position_59 , c7_ . id AS id_60 , c7_ . public_id AS public_id_61 , c7_ . name AS name_62 , c7_ . slug AS slug_63 , c7_ . description AS description_64 , c7_ . lft AS lft_65 , c7_ . lvl AS lvl_66 , c7_ . rgt AS rgt_67 , c7_ . position AS position_68 , c7_ . seo_title AS seo_title_69 , c7_ . seo_description AS seo_description_70 , c7_ . seo_url AS seo_url_71 , p8_ . id AS id_72 , p8_ . amount AS amount_73 , p8_ . type AS type_74 , p8_ . created_at AS created_at_75 , p8_ . updated_at AS updated_at_76 , c9_ . code AS code_77 , c9_ . is_default AS is_default_78 , c9_ . is_active AS is_active_79 , c9_ . decimal_places AS decimal_places_80 FROM product p0_ LEFT JOIN product_variant p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant_variant_value p10_ ON p1_ . id = p10_ . product_variant_id LEFT JOIN variant_value v2_ ON v2_ . id = p10_ . variant_value_id LEFT JOIN variant v3_ ON v2_ . variant_id = v3_ . id LEFT JOIN product_parameter p4_ ON p0_ . id = p4_ . product_id LEFT JOIN parameter p5_ ON p4_ . parameter_id = p5_ . id LEFT JOIN parameter_value p6_ ON p4_ . parameter_value_id = p6_ . id LEFT JOIN category c7_ ON p0_ . main_category_id = c7_ . id LEFT JOIN product_price p8_ ON p0_ . id = p8_ . product_id LEFT JOIN currency c9_ ON p8_ . currency_code = c9_ . code WHERE p0_ . active = true AND (SELECT COUNT (* ) FROM product_category p11_ WHERE p11_ . product_id = p0_ . id ) > 0 ORDER BY (p0_ . name - > > 'cs' ) ASC , p0_ . id ASC ) dctrn_result ) dctrn_table ;
Copy
16
1.73 ms
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . newsletter_consent AS newsletter_consent_14 , c0_ . gdpr_consent AS gdpr_consent_15 , c0_ . payment_method AS payment_method_16 , c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 , c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 , c0_ . created_at AS created_at_19 , c0_ . updated_at AS updated_at_20 , c0_ . address_street AS address_street_21 , c0_ . address_descriptive_number AS address_descriptive_number_22 , c0_ . address_city AS address_city_23 , c0_ . address_country AS address_country_24 , c0_ . address_zip_code AS address_zip_code_25 , c0_ . invoice_street AS invoice_street_26 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 , c0_ . invoice_city AS invoice_city_28 , c0_ . invoice_country AS invoice_country_29 , c0_ . invoice_zip_code AS invoice_zip_code_30 , c1_ . id AS id_31 , c1_ . quantity AS quantity_32 , c1_ . is_gift AS is_gift_33 , c1_ . created_at AS created_at_34 , c1_ . updated_at AS updated_at_35 , p2_ . id AS id_36 , p2_ . public_id AS public_id_37 , p2_ . code AS code_38 , p2_ . is_default AS is_default_39 , p2_ . weight_modification AS weight_modification_40 , p2_ . price_modification_amount AS price_modification_amount_41 , p2_ . price_modification_currency AS price_modification_currency_42 , p2_ . stock_stock AS stock_stock_43 , p2_ . stock_reserved AS stock_reserved_44 , p3_ . id AS id_45 , p3_ . public_id AS public_id_46 , p3_ . name AS name_47 , p3_ . description AS description_48 , p3_ . short_description AS short_description_49 , p3_ . code AS code_50 , p3_ . ean AS ean_51 , p3_ . unit AS unit_52 , p3_ . active AS active_53 , p3_ . can_be_bought AS can_be_bought_54 , p3_ . searchable AS searchable_55 , p3_ . show_price AS show_price_56 , p3_ . in_stock_text AS in_stock_text_57 , p3_ . out_of_stock_text AS out_of_stock_text_58 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 , p3_ . search_vector_cs AS search_vector_cs_61 , p3_ . search_vector_en AS search_vector_en_62 , p3_ . seo_title AS seo_title_63 , p3_ . seo_description AS seo_description_64 , p3_ . seo_url AS seo_url_65 , p3_ . stock_stock AS stock_stock_66 , p3_ . stock_reserved AS stock_reserved_67 , p3_ . logistic_weight AS logistic_weight_68 , p3_ . logistic_size_width AS logistic_size_width_69 , p3_ . logistic_size_height AS logistic_size_height_70 , p3_ . logistic_size_length AS logistic_size_length_71 , p3_ . price_amount AS price_amount_72 , p3_ . price_currency AS price_currency_73 , p3_ . purchase_price_amount AS purchase_price_amount_74 , p3_ . purchase_price_currency AS purchase_price_currency_75 , c0_ . customer_id AS customer_id_76 , c0_ . shipping_method_id AS shipping_method_id_77 , c0_ . discount_code_id AS discount_code_id_78 , c1_ . cart_id AS cart_id_79 , c1_ . product_variant_id AS product_variant_id_80 , p2_ . product_id AS product_id_81 , p3_ . vat_id AS vat_id_82 , p3_ . main_category_id AS main_category_id_83 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = ? AND c0_ . status = ? ORDER BY c1_ . id ASC
Parameters :
[
"2be9a38cc492dc3533b69fd0528995f4 "
"active "
]
SELECT
c0_ . id AS id_0 ,
c0_ . session_id AS session_id_1 ,
c0_ . status AS status_2 ,
c0_ . last_activity_at AS last_activity_at_3 ,
c0_ . email AS email_4 ,
c0_ . firstname AS firstname_5 ,
c0_ . lastname AS lastname_6 ,
c0_ . telephone AS telephone_7 ,
c0_ . company_name AS company_name_8 ,
c0_ . cin AS cin_9 ,
c0_ . vat_id AS vat_id_10 ,
c0_ . pickup_point_id AS pickup_point_id_11 ,
c0_ . pickup_point_name AS pickup_point_name_12 ,
c0_ . note AS note_13 ,
c0_ . newsletter_consent AS newsletter_consent_14 ,
c0_ . gdpr_consent AS gdpr_consent_15 ,
c0_ . payment_method AS payment_method_16 ,
c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 ,
c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 ,
c0_ . created_at AS created_at_19 ,
c0_ . updated_at AS updated_at_20 ,
c0_ . address_street AS address_street_21 ,
c0_ . address_descriptive_number AS address_descriptive_number_22 ,
c0_ . address_city AS address_city_23 ,
c0_ . address_country AS address_country_24 ,
c0_ . address_zip_code AS address_zip_code_25 ,
c0_ . invoice_street AS invoice_street_26 ,
c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 ,
c0_ . invoice_city AS invoice_city_28 ,
c0_ . invoice_country AS invoice_country_29 ,
c0_ . invoice_zip_code AS invoice_zip_code_30 ,
c1_ . id AS id_31 ,
c1_ . quantity AS quantity_32 ,
c1_ . is_gift AS is_gift_33 ,
c1_ . created_at AS created_at_34 ,
c1_ . updated_at AS updated_at_35 ,
p2_ . id AS id_36 ,
p2_ . public_id AS public_id_37 ,
p2_ . code AS code_38 ,
p2_ . is_default AS is_default_39 ,
p2_ . weight_modification AS weight_modification_40 ,
p2_ . price_modification_amount AS price_modification_amount_41 ,
p2_ . price_modification_currency AS price_modification_currency_42 ,
p2_ . stock_stock AS stock_stock_43 ,
p2_ . stock_reserved AS stock_reserved_44 ,
p3_ . id AS id_45 ,
p3_ . public_id AS public_id_46 ,
p3_ . name AS name_47 ,
p3_ . description AS description_48 ,
p3_ . short_description AS short_description_49 ,
p3_ . code AS code_50 ,
p3_ . ean AS ean_51 ,
p3_ . unit AS unit_52 ,
p3_ . active AS active_53 ,
p3_ . can_be_bought AS can_be_bought_54 ,
p3_ . searchable AS searchable_55 ,
p3_ . show_price AS show_price_56 ,
p3_ . in_stock_text AS in_stock_text_57 ,
p3_ . out_of_stock_text AS out_of_stock_text_58 ,
p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 ,
p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 ,
p3_ . search_vector_cs AS search_vector_cs_61 ,
p3_ . search_vector_en AS search_vector_en_62 ,
p3_ . seo_title AS seo_title_63 ,
p3_ . seo_description AS seo_description_64 ,
p3_ . seo_url AS seo_url_65 ,
p3_ . stock_stock AS stock_stock_66 ,
p3_ . stock_reserved AS stock_reserved_67 ,
p3_ . logistic_weight AS logistic_weight_68 ,
p3_ . logistic_size_width AS logistic_size_width_69 ,
p3_ . logistic_size_height AS logistic_size_height_70 ,
p3_ . logistic_size_length AS logistic_size_length_71 ,
p3_ . price_amount AS price_amount_72 ,
p3_ . price_currency AS price_currency_73 ,
p3_ . purchase_price_amount AS purchase_price_amount_74 ,
p3_ . purchase_price_currency AS purchase_price_currency_75 ,
c0_ . customer_id AS customer_id_76 ,
c0_ . shipping_method_id AS shipping_method_id_77 ,
c0_ . discount_code_id AS discount_code_id_78 ,
c1_ . cart_id AS cart_id_79 ,
c1_ . product_variant_id AS product_variant_id_80 ,
p2_ . product_id AS product_id_81 ,
p3_ . vat_id AS vat_id_82 ,
p3_ . main_category_id AS main_category_id_83
FROM
cart c0_
LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id
LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id
LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id
WHERE
c0_ . session_id = ?
AND c0_ . status = ?
ORDER BY
c1_ . id ASC
Copy
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . newsletter_consent AS newsletter_consent_14 , c0_ . gdpr_consent AS gdpr_consent_15 , c0_ . payment_method AS payment_method_16 , c0_ . tracking_heureka_opt_out AS tracking_heureka_opt_out_17 , c0_ . tracking_zbozi_opt_in AS tracking_zbozi_opt_in_18 , c0_ . created_at AS created_at_19 , c0_ . updated_at AS updated_at_20 , c0_ . address_street AS address_street_21 , c0_ . address_descriptive_number AS address_descriptive_number_22 , c0_ . address_city AS address_city_23 , c0_ . address_country AS address_country_24 , c0_ . address_zip_code AS address_zip_code_25 , c0_ . invoice_street AS invoice_street_26 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_27 , c0_ . invoice_city AS invoice_city_28 , c0_ . invoice_country AS invoice_country_29 , c0_ . invoice_zip_code AS invoice_zip_code_30 , c1_ . id AS id_31 , c1_ . quantity AS quantity_32 , c1_ . is_gift AS is_gift_33 , c1_ . created_at AS created_at_34 , c1_ . updated_at AS updated_at_35 , p2_ . id AS id_36 , p2_ . public_id AS public_id_37 , p2_ . code AS code_38 , p2_ . is_default AS is_default_39 , p2_ . weight_modification AS weight_modification_40 , p2_ . price_modification_amount AS price_modification_amount_41 , p2_ . price_modification_currency AS price_modification_currency_42 , p2_ . stock_stock AS stock_stock_43 , p2_ . stock_reserved AS stock_reserved_44 , p3_ . id AS id_45 , p3_ . public_id AS public_id_46 , p3_ . name AS name_47 , p3_ . description AS description_48 , p3_ . short_description AS short_description_49 , p3_ . code AS code_50 , p3_ . ean AS ean_51 , p3_ . unit AS unit_52 , p3_ . active AS active_53 , p3_ . can_be_bought AS can_be_bought_54 , p3_ . searchable AS searchable_55 , p3_ . show_price AS show_price_56 , p3_ . in_stock_text AS in_stock_text_57 , p3_ . out_of_stock_text AS out_of_stock_text_58 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_59 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_60 , p3_ . search_vector_cs AS search_vector_cs_61 , p3_ . search_vector_en AS search_vector_en_62 , p3_ . seo_title AS seo_title_63 , p3_ . seo_description AS seo_description_64 , p3_ . seo_url AS seo_url_65 , p3_ . stock_stock AS stock_stock_66 , p3_ . stock_reserved AS stock_reserved_67 , p3_ . logistic_weight AS logistic_weight_68 , p3_ . logistic_size_width AS logistic_size_width_69 , p3_ . logistic_size_height AS logistic_size_height_70 , p3_ . logistic_size_length AS logistic_size_length_71 , p3_ . price_amount AS price_amount_72 , p3_ . price_currency AS price_currency_73 , p3_ . purchase_price_amount AS purchase_price_amount_74 , p3_ . purchase_price_currency AS purchase_price_currency_75 , c0_ . customer_id AS customer_id_76 , c0_ . shipping_method_id AS shipping_method_id_77 , c0_ . discount_code_id AS discount_code_id_78 , c1_ . cart_id AS cart_id_79 , c1_ . product_variant_id AS product_variant_id_80 , p2_ . product_id AS product_id_81 , p3_ . vat_id AS vat_id_82 , p3_ . main_category_id AS main_category_id_83 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = '2be9a38cc492dc3533b69fd0528995f4' AND c0_ . status = 'active' ORDER BY c1_ . id ASC ;
Copy
17
0.84 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"7a79ea94-236b-4062-a3b5-5a047d63c05f "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '7a79ea94-236b-4062-a3b5-5a047d63c05f' ;
Copy
18
0.50 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f' ;
Copy
19
0.51 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = 'd1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50' ;
Copy
20
0.53 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000003 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '0a1b2c3d-0001-4000-8000-000000000003' ;
Copy
21
0.45 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000008 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '0a1b2c3d-0001-4000-8000-000000000008' ;
Copy
22
0.52 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000006 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '0a1b2c3d-0001-4000-8000-000000000006' ;
Copy
23
0.52 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f' ;
Copy
24
0.47 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000009 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '0a1b2c3d-0001-4000-8000-000000000009' ;
Copy
25
0.55 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000007 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '0a1b2c3d-0001-4000-8000-000000000007' ;
Copy
26
0.52 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f' ;
Copy
27
0.46 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"76a82726-403f-48b7-8179-e9c93c33b6cd "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '76a82726-403f-48b7-8179-e9c93c33b6cd' ;
Copy
28
0.39 ms
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = ?
Parameters :
[
"8e2faafb-53ae-47fd-971e-71abcfc6d912 "
]
SELECT t0 . id AS id_1 , t0 . public_id AS public_id_2 , t0 . name AS name_3 , t0 . slug AS slug_4 , t0 . description AS description_5 , t0 . lft AS lft_6 , t0 . lvl AS lvl_7 , t0 . rgt AS rgt_8 , t0 . position AS position_9 , t0 . seo_title AS seo_title_10 , t0 . seo_description AS seo_description_11 , t0 . seo_url AS seo_url_12 , t0 . image_id AS image_id_13 , t0 . tree_root AS tree_root_14 , t0 . parent_id AS parent_id_15 FROM category t0 INNER JOIN product_category ON t0 . id = product_category . category_id WHERE product_category . product_id = '8e2faafb-53ae-47fd-971e-71abcfc6d912' ;
Copy
29
2.30 ms
SELECT d0_ . id AS id_0 , d0_ . name AS name_1 , d0_ . code AS code_2 , d0_ . target AS target_3 , d0_ . type AS type_4 , d0_ . value AS value_5 , d0_ . active_from AS active_from_6 , d0_ . active_to AS active_to_7 , d0_ . minimum_quantity AS minimum_quantity_8 , d0_ . minimum_order_value AS minimum_order_value_9 , d0_ . active AS active_10 , p1_ . id AS id_11 , p1_ . public_id AS public_id_12 , p1_ . name AS name_13 , p1_ . description AS description_14 , p1_ . short_description AS short_description_15 , p1_ . code AS code_16 , p1_ . ean AS ean_17 , p1_ . unit AS unit_18 , p1_ . active AS active_19 , p1_ . can_be_bought AS can_be_bought_20 , p1_ . searchable AS searchable_21 , p1_ . show_price AS show_price_22 , p1_ . in_stock_text AS in_stock_text_23 , p1_ . out_of_stock_text AS out_of_stock_text_24 , p1_ . filter_parameter_value_ids AS filter_parameter_value_ids_25 , p1_ . filter_variant_value_ids AS filter_variant_value_ids_26 , p1_ . search_vector_cs AS search_vector_cs_27 , p1_ . search_vector_en AS search_vector_en_28 , p1_ . seo_title AS seo_title_29 , p1_ . seo_description AS seo_description_30 , p1_ . seo_url AS seo_url_31 , p1_ . stock_stock AS stock_stock_32 , p1_ . stock_reserved AS stock_reserved_33 , p1_ . logistic_weight AS logistic_weight_34 , p1_ . logistic_size_width AS logistic_size_width_35 , p1_ . logistic_size_height AS logistic_size_height_36 , p1_ . logistic_size_length AS logistic_size_length_37 , p1_ . price_amount AS price_amount_38 , p1_ . price_currency AS price_currency_39 , p1_ . purchase_price_amount AS purchase_price_amount_40 , p1_ . purchase_price_currency AS purchase_price_currency_41 , p2_ . id AS id_42 , p2_ . public_id AS public_id_43 , p2_ . code AS code_44 , p2_ . is_default AS is_default_45 , p2_ . weight_modification AS weight_modification_46 , p2_ . price_modification_amount AS price_modification_amount_47 , p2_ . price_modification_currency AS price_modification_currency_48 , p2_ . stock_stock AS stock_stock_49 , p2_ . stock_reserved AS stock_reserved_50 , c3_ . id AS id_51 , c3_ . public_id AS public_id_52 , c3_ . name AS name_53 , c3_ . slug AS slug_54 , c3_ . description AS description_55 , c3_ . lft AS lft_56 , c3_ . lvl AS lvl_57 , c3_ . rgt AS rgt_58 , c3_ . position AS position_59 , c3_ . seo_title AS seo_title_60 , c3_ . seo_description AS seo_description_61 , c3_ . seo_url AS seo_url_62 , d0_ . product_id AS product_id_63 , d0_ . product_variant_id AS product_variant_id_64 , d0_ . category_id AS category_id_65 , d0_ . customer_group_id AS customer_group_id_66 , p1_ . vat_id AS vat_id_67 , p1_ . main_category_id AS main_category_id_68 , p2_ . product_id AS product_id_69 , c3_ . image_id AS image_id_70 , c3_ . tree_root AS tree_root_71 , c3_ . parent_id AS parent_id_72 FROM discount d0_ LEFT JOIN product p1_ ON d0_ . product_id = p1_ . id LEFT JOIN product_variant p2_ ON d0_ . product_variant_id = p2_ . id LEFT JOIN category c3_ ON d0_ . category_id = c3_ . id WHERE d0_ . active = ? AND d0_ . code IS NULL AND ((d0_ . active_from IS NULL OR d0_ . active_from < = ? )) AND ((d0_ . active_to IS NULL OR d0_ . active_to > = ? )) AND d0_ . customer_group_id IS NULL AND ((d0_ . target = ? AND d0_ . product_variant_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )) OR (d0_ . target = ? AND d0_ . product_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )) OR (d0_ . target = ? AND d0_ . category_id IN (SELECT c4_ . id FROM category c4_ WHERE EXISTS (SELECT c5_ . id FROM category c5_ WHERE c5_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) AND c5_ . tree_root = c4_ . tree_root AND c5_ . lft > = c4_ . lft AND c5_ . rgt < = c4_ . rgt ))))
Parameters :
[
1
"2026-07-09 04:30:59 "
"2026-07-09 04:30:59 "
"product_variant "
"16977ce1-645d-4cfd-b5ed-8fd0a2f4dedd "
"96061c2a-129c-40d3-b670-a7c2f1470daa "
"d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f51 "
"e721e9c7-ed98-4b7e-865f-1f2266434c94 "
"a755e291-b22d-4bca-af8e-17da48739347 "
"b46ed687-cf12-4660-977d-03c7615ec2d4 "
"537bd74d-ba91-4d68-a720-cbd6dba892a7 "
"0a1b2c3d-0001-4000-8000-0000000000c1 "
"f49c8984-4903-49ef-b123-4f21e89ea0b6 "
"1ae39024-cf86-4d2d-867a-1c7f2b60f405 "
"f907870e-7442-46b3-86b0-2fe7c60a7eb4 "
"8f5fc2a3-87ce-40aa-b333-22ba415c329b "
"product "
"7a79ea94-236b-4062-a3b5-5a047d63c05f "
"7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f "
"d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50 "
"0a1b2c3d-0001-4000-8000-000000000003 "
"0a1b2c3d-0001-4000-8000-000000000008 "
"0a1b2c3d-0001-4000-8000-000000000006 "
"9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f "
"0a1b2c3d-0001-4000-8000-000000000009 "
"0a1b2c3d-0001-4000-8000-000000000007 "
"2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f "
"76a82726-403f-48b7-8179-e9c93c33b6cd "
"8e2faafb-53ae-47fd-971e-71abcfc6d912 "
"category "
"9a7c5b1e-3d0f-4e4a-5c8b-7f2d4e9a0c1b "
"6f4b2a8d-0c7e-4d1f-2b5a-4e9c1d6f7b8a "
"5c3e1d7a-9f6b-4a0c-1e4d-3b8f0a5c6e7f "
"4f2b0a6d-8c5e-4d9f-0b3a-2e7c9d4f5b6a "
"7e5a3f9c-1b8d-4c2e-3a6f-5d0b2c7e8a9b "
"2b0d8c4f-6e3a-4f7b-8d1c-0a5e7f2b3d4c "
"3a1c9b5e-7d4f-4e8a-9c2b-1f6d8e3a4c5d "
"6b4d2c8f-0e7a-4f1b-2d5c-4a9e1f6b7d8c "
"5e3a1f7c-9b6d-4c0e-1a4f-3d8b0c5e6a7f "
"4b2d0c6f-8e5a-4f9b-0d3c-2a7e9f4b5d6e "
]
SELECT
d0_ . id AS id_0 ,
d0_ . name AS name_1 ,
d0_ . code AS code_2 ,
d0_ . target AS target_3 ,
d0_ . type AS type_4 ,
d0_ . value AS value_5 ,
d0_ . active_from AS active_from_6 ,
d0_ . active_to AS active_to_7 ,
d0_ . minimum_quantity AS minimum_quantity_8 ,
d0_ . minimum_order_value AS minimum_order_value_9 ,
d0_ . active AS active_10 ,
p1_ . id AS id_11 ,
p1_ . public_id AS public_id_12 ,
p1_ . name AS name_13 ,
p1_ . description AS description_14 ,
p1_ . short_description AS short_description_15 ,
p1_ . code AS code_16 ,
p1_ . ean AS ean_17 ,
p1_ . unit AS unit_18 ,
p1_ . active AS active_19 ,
p1_ . can_be_bought AS can_be_bought_20 ,
p1_ . searchable AS searchable_21 ,
p1_ . show_price AS show_price_22 ,
p1_ . in_stock_text AS in_stock_text_23 ,
p1_ . out_of_stock_text AS out_of_stock_text_24 ,
p1_ . filter_parameter_value_ids AS filter_parameter_value_ids_25 ,
p1_ . filter_variant_value_ids AS filter_variant_value_ids_26 ,
p1_ . search_vector_cs AS search_vector_cs_27 ,
p1_ . search_vector_en AS search_vector_en_28 ,
p1_ . seo_title AS seo_title_29 ,
p1_ . seo_description AS seo_description_30 ,
p1_ . seo_url AS seo_url_31 ,
p1_ . stock_stock AS stock_stock_32 ,
p1_ . stock_reserved AS stock_reserved_33 ,
p1_ . logistic_weight AS logistic_weight_34 ,
p1_ . logistic_size_width AS logistic_size_width_35 ,
p1_ . logistic_size_height AS logistic_size_height_36 ,
p1_ . logistic_size_length AS logistic_size_length_37 ,
p1_ . price_amount AS price_amount_38 ,
p1_ . price_currency AS price_currency_39 ,
p1_ . purchase_price_amount AS purchase_price_amount_40 ,
p1_ . purchase_price_currency AS purchase_price_currency_41 ,
p2_ . id AS id_42 ,
p2_ . public_id AS public_id_43 ,
p2_ . code AS code_44 ,
p2_ . is_default AS is_default_45 ,
p2_ . weight_modification AS weight_modification_46 ,
p2_ . price_modification_amount AS price_modification_amount_47 ,
p2_ . price_modification_currency AS price_modification_currency_48 ,
p2_ . stock_stock AS stock_stock_49 ,
p2_ . stock_reserved AS stock_reserved_50 ,
c3_ . id AS id_51 ,
c3_ . public_id AS public_id_52 ,
c3_ . name AS name_53 ,
c3_ . slug AS slug_54 ,
c3_ . description AS description_55 ,
c3_ . lft AS lft_56 ,
c3_ . lvl AS lvl_57 ,
c3_ . rgt AS rgt_58 ,
c3_ . position AS position_59 ,
c3_ . seo_title AS seo_title_60 ,
c3_ . seo_description AS seo_description_61 ,
c3_ . seo_url AS seo_url_62 ,
d0_ . product_id AS product_id_63 ,
d0_ . product_variant_id AS product_variant_id_64 ,
d0_ . category_id AS category_id_65 ,
d0_ . customer_group_id AS customer_group_id_66 ,
p1_ . vat_id AS vat_id_67 ,
p1_ . main_category_id AS main_category_id_68 ,
p2_ . product_id AS product_id_69 ,
c3_ . image_id AS image_id_70 ,
c3_ . tree_root AS tree_root_71 ,
c3_ . parent_id AS parent_id_72
FROM
discount d0_
LEFT JOIN product p1_ ON d0_ . product_id = p1_ . id
LEFT JOIN product_variant p2_ ON d0_ . product_variant_id = p2_ . id
LEFT JOIN category c3_ ON d0_ . category_id = c3_ . id
WHERE
d0_ . active = ?
AND d0_ . code IS NULL
AND (
(
d0_ . active_from IS NULL
OR d0_ . active_from < = ?
)
)
AND (
(
d0_ . active_to IS NULL
OR d0_ . active_to > = ?
)
)
AND d0_ . customer_group_id IS NULL
AND (
(
d0_ . target = ?
AND d0_ . product_variant_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
)
OR (
d0_ . target = ?
AND d0_ . product_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
)
OR (
d0_ . target = ?
AND d0_ . category_id IN (
SELECT
c4_ . id
FROM
category c4_
WHERE
EXISTS (
SELECT
c5_ . id
FROM
category c5_
WHERE
c5_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
AND c5_ . tree_root = c4_ . tree_root
AND c5_ . lft > = c4_ . lft
AND c5_ . rgt < = c4_ . rgt
)
)
)
)
Copy
SELECT d0_ . id AS id_0 , d0_ . name AS name_1 , d0_ . code AS code_2 , d0_ . target AS target_3 , d0_ . type AS type_4 , d0_ . value AS value_5 , d0_ . active_from AS active_from_6 , d0_ . active_to AS active_to_7 , d0_ . minimum_quantity AS minimum_quantity_8 , d0_ . minimum_order_value AS minimum_order_value_9 , d0_ . active AS active_10 , p1_ . id AS id_11 , p1_ . public_id AS public_id_12 , p1_ . name AS name_13 , p1_ . description AS description_14 , p1_ . short_description AS short_description_15 , p1_ . code AS code_16 , p1_ . ean AS ean_17 , p1_ . unit AS unit_18 , p1_ . active AS active_19 , p1_ . can_be_bought AS can_be_bought_20 , p1_ . searchable AS searchable_21 , p1_ . show_price AS show_price_22 , p1_ . in_stock_text AS in_stock_text_23 , p1_ . out_of_stock_text AS out_of_stock_text_24 , p1_ . filter_parameter_value_ids AS filter_parameter_value_ids_25 , p1_ . filter_variant_value_ids AS filter_variant_value_ids_26 , p1_ . search_vector_cs AS search_vector_cs_27 , p1_ . search_vector_en AS search_vector_en_28 , p1_ . seo_title AS seo_title_29 , p1_ . seo_description AS seo_description_30 , p1_ . seo_url AS seo_url_31 , p1_ . stock_stock AS stock_stock_32 , p1_ . stock_reserved AS stock_reserved_33 , p1_ . logistic_weight AS logistic_weight_34 , p1_ . logistic_size_width AS logistic_size_width_35 , p1_ . logistic_size_height AS logistic_size_height_36 , p1_ . logistic_size_length AS logistic_size_length_37 , p1_ . price_amount AS price_amount_38 , p1_ . price_currency AS price_currency_39 , p1_ . purchase_price_amount AS purchase_price_amount_40 , p1_ . purchase_price_currency AS purchase_price_currency_41 , p2_ . id AS id_42 , p2_ . public_id AS public_id_43 , p2_ . code AS code_44 , p2_ . is_default AS is_default_45 , p2_ . weight_modification AS weight_modification_46 , p2_ . price_modification_amount AS price_modification_amount_47 , p2_ . price_modification_currency AS price_modification_currency_48 , p2_ . stock_stock AS stock_stock_49 , p2_ . stock_reserved AS stock_reserved_50 , c3_ . id AS id_51 , c3_ . public_id AS public_id_52 , c3_ . name AS name_53 , c3_ . slug AS slug_54 , c3_ . description AS description_55 , c3_ . lft AS lft_56 , c3_ . lvl AS lvl_57 , c3_ . rgt AS rgt_58 , c3_ . position AS position_59 , c3_ . seo_title AS seo_title_60 , c3_ . seo_description AS seo_description_61 , c3_ . seo_url AS seo_url_62 , d0_ . product_id AS product_id_63 , d0_ . product_variant_id AS product_variant_id_64 , d0_ . category_id AS category_id_65 , d0_ . customer_group_id AS customer_group_id_66 , p1_ . vat_id AS vat_id_67 , p1_ . main_category_id AS main_category_id_68 , p2_ . product_id AS product_id_69 , c3_ . image_id AS image_id_70 , c3_ . tree_root AS tree_root_71 , c3_ . parent_id AS parent_id_72 FROM discount d0_ LEFT JOIN product p1_ ON d0_ . product_id = p1_ . id LEFT JOIN product_variant p2_ ON d0_ . product_variant_id = p2_ . id LEFT JOIN category c3_ ON d0_ . category_id = c3_ . id WHERE d0_ . active = 1 AND d0_ . code IS NULL AND ((d0_ . active_from IS NULL OR d0_ . active_from < = '2026-07-09 04:30:59' )) AND ((d0_ . active_to IS NULL OR d0_ . active_to > = '2026-07-09 04:30:59' )) AND d0_ . customer_group_id IS NULL AND ((d0_ . target = 'product_variant' AND d0_ . product_variant_id IN ('16977ce1-645d-4cfd-b5ed-8fd0a2f4dedd' , '96061c2a-129c-40d3-b670-a7c2f1470daa' , 'd1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f51' , 'e721e9c7-ed98-4b7e-865f-1f2266434c94' , 'a755e291-b22d-4bca-af8e-17da48739347' , 'b46ed687-cf12-4660-977d-03c7615ec2d4' , '537bd74d-ba91-4d68-a720-cbd6dba892a7' , '0a1b2c3d-0001-4000-8000-0000000000c1' , 'f49c8984-4903-49ef-b123-4f21e89ea0b6' , '1ae39024-cf86-4d2d-867a-1c7f2b60f405' , 'f907870e-7442-46b3-86b0-2fe7c60a7eb4' , '8f5fc2a3-87ce-40aa-b333-22ba415c329b' )) OR (d0_ . target = 'product' AND d0_ . product_id IN ('7a79ea94-236b-4062-a3b5-5a047d63c05f' , '7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f' , 'd1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50' , '0a1b2c3d-0001-4000-8000-000000000003' , '0a1b2c3d-0001-4000-8000-000000000008' , '0a1b2c3d-0001-4000-8000-000000000006' , '9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f' , '0a1b2c3d-0001-4000-8000-000000000009' , '0a1b2c3d-0001-4000-8000-000000000007' , '2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f' , '76a82726-403f-48b7-8179-e9c93c33b6cd' , '8e2faafb-53ae-47fd-971e-71abcfc6d912' )) OR (d0_ . target = 'category' AND d0_ . category_id IN (SELECT c4_ . id FROM category c4_ WHERE EXISTS (SELECT c5_ . id FROM category c5_ WHERE c5_ . id IN ('9a7c5b1e-3d0f-4e4a-5c8b-7f2d4e9a0c1b' , '6f4b2a8d-0c7e-4d1f-2b5a-4e9c1d6f7b8a' , '5c3e1d7a-9f6b-4a0c-1e4d-3b8f0a5c6e7f' , '4f2b0a6d-8c5e-4d9f-0b3a-2e7c9d4f5b6a' , '7e5a3f9c-1b8d-4c2e-3a6f-5d0b2c7e8a9b' , '2b0d8c4f-6e3a-4f7b-8d1c-0a5e7f2b3d4c' , '3a1c9b5e-7d4f-4e8a-9c2b-1f6d8e3a4c5d' , '6b4d2c8f-0e7a-4f1b-2d5c-4a9e1f6b7d8c' , '5e3a1f7c-9b6d-4c0e-1a4f-3d8b0c5e6a7f' , '4b2d0c6f-8e5a-4f9b-0d3c-2a7e9f4b5d6e' ) AND c5_ . tree_root = c4_ . tree_root AND c5_ . lft > = c4_ . lft AND c5_ . rgt < = c4_ . rgt ))));
Copy
30
1.11 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{7f904120-f8b3-4566-b409-472698f59584,dd1b5415-c000-494b-92f0-ed10c8b7e16d} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{7f904120-f8b3-4566-b409-472698f59584,dd1b5415-c000-494b-92f0-ed10c8b7e16d}' )
GROUP BY unnested_value ;
Copy
31
0.41 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{8e85442d-8616-48ff-8b24-2e8aec165027,77d73b6e-ba4c-461c-a022-d80f824b116b,bf3d495a-37c3-4c0a-8f61-fed434ff2d13} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{8e85442d-8616-48ff-8b24-2e8aec165027,77d73b6e-ba4c-461c-a022-d80f824b116b,bf3d495a-37c3-4c0a-8f61-fed434ff2d13}' )
GROUP BY unnested_value ;
Copy
32
0.41 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{015a841b-970f-4a83-9410-ea8f9a77bb8e,dc992215-1cdc-41f9-964b-2a65cfd305a8} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{015a841b-970f-4a83-9410-ea8f9a77bb8e,dc992215-1cdc-41f9-964b-2a65cfd305a8}' )
GROUP BY unnested_value ;
Copy
33
0.35 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{9b880df1-482c-4f0e-ac91-304c0554dd93,8a6a4c62-3a9a-47fa-8935-5b2c8edef512,63a4b4eb-5b5d-48a1-94a7-7af3764f5642} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{9b880df1-482c-4f0e-ac91-304c0554dd93,8a6a4c62-3a9a-47fa-8935-5b2c8edef512,63a4b4eb-5b5d-48a1-94a7-7af3764f5642}' )
GROUP BY unnested_value ;
Copy
34
0.37 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{7efc6872-b156-4bf2-afb8-33d03ede6097,cbb9595f-a34d-4ddc-aa9b-e58e92bf8cf4,cef1c56c-c574-4e6b-a3f7-7643f0376f35} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{7efc6872-b156-4bf2-afb8-33d03ede6097,cbb9595f-a34d-4ddc-aa9b-e58e92bf8cf4,cef1c56c-c574-4e6b-a3f7-7643f0376f35}' )
GROUP BY unnested_value ;
Copy
35
0.59 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{7f904120-f8b3-4566-b409-472698f59584,dd1b5415-c000-494b-92f0-ed10c8b7e16d,8e85442d-8616-48ff-8b24-2e8aec165027,77d73b6e-ba4c-461c-a022-d80f824b116b,bf3d495a-37c3-4c0a-8f61-fed434ff2d13} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_parameter_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{7f904120-f8b3-4566-b409-472698f59584,dd1b5415-c000-494b-92f0-ed10c8b7e16d,8e85442d-8616-48ff-8b24-2e8aec165027,77d73b6e-ba4c-461c-a022-d80f824b116b,bf3d495a-37c3-4c0a-8f61-fed434ff2d13}' )
GROUP BY unnested_value ;
Copy
36
0.66 ms
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY (? )
GROUP BY unnested_value
Parameters :
[
"{015a841b-970f-4a83-9410-ea8f9a77bb8e,dc992215-1cdc-41f9-964b-2a65cfd305a8,9b880df1-482c-4f0e-ac91-304c0554dd93,8a6a4c62-3a9a-47fa-8935-5b2c8edef512,63a4b4eb-5b5d-48a1-94a7-7af3764f5642,7efc6872-b156-4bf2-afb8-33d03ede6097,cbb9595f-a34d-4ddc-aa9b-e58e92bf8cf4,cef1c56c-c574-4e6b-a3f7-7643f0376f35} "
]
SELECT
unnested_value :: text as value_id ,
COUNT (* ) as count
FROM product p ,
LATERAL unnest (p . filter_variant_value_ids ) as unnested_value
WHERE p . active = true
AND unnested_value = ANY ('{015a841b-970f-4a83-9410-ea8f9a77bb8e,dc992215-1cdc-41f9-964b-2a65cfd305a8,9b880df1-482c-4f0e-ac91-304c0554dd93,8a6a4c62-3a9a-47fa-8935-5b2c8edef512,63a4b4eb-5b5d-48a1-94a7-7af3764f5642,7efc6872-b156-4bf2-afb8-33d03ede6097,cbb9595f-a34d-4ddc-aa9b-e58e92bf8cf4,cef1c56c-c574-4e6b-a3f7-7643f0376f35}' )
GROUP BY unnested_value ;
Copy
37
0.93 ms
SELECT n0_ . id AS id_0 , n0_ . active AS active_1 , n0_ . content AS content_2 , n0_ . notice_position AS notice_position_3 , n0_ . show_from AS show_from_4 , n0_ . show_to AS show_to_5 , n0_ . background_color AS background_color_6 , n0_ . text_color AS text_color_7 , n0_ . button_background_color AS button_background_color_8 , n0_ . button_hover_background_color AS button_hover_background_color_9 , n0_ . button_text_color AS button_text_color_10 , n0_ . notice_type AS notice_type_11 FROM notice n0_ WHERE n0_ . notice_type IN ('infobar' )
SELECT n0_ . id AS id_0 , n0_ . active AS active_1 , n0_ . content AS content_2 , n0_ . notice_position AS notice_position_3 , n0_ . show_from AS show_from_4 , n0_ . show_to AS show_to_5 , n0_ . background_color AS background_color_6 , n0_ . text_color AS text_color_7 , n0_ . button_background_color AS button_background_color_8 , n0_ . button_hover_background_color AS button_hover_background_color_9 , n0_ . button_text_color AS button_text_color_10 , n0_ . notice_type AS notice_type_11 FROM notice n0_ WHERE n0_ . notice_type IN ('infobar' );
Copy
38
1.06 ms
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC ;
Copy
39
1.71 ms
SELECT s0_ . id AS id_0 , s0_ . public_id AS public_id_1 , s0_ . title AS title_2 , s0_ . slug AS slug_3 , s0_ . content AS content_4 , s0_ . show_contact_form AS show_contact_form_5 , s0_ . active AS active_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s0_ . seo_title AS seo_title_9 , s0_ . seo_description AS seo_description_10 , s0_ . seo_url AS seo_url_11 FROM static_page s0_ WHERE s0_ . active = true ORDER BY s0_ . created_at ASC
SELECT s0_ . id AS id_0 , s0_ . public_id AS public_id_1 , s0_ . title AS title_2 , s0_ . slug AS slug_3 , s0_ . content AS content_4 , s0_ . show_contact_form AS show_contact_form_5 , s0_ . active AS active_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s0_ . seo_title AS seo_title_9 , s0_ . seo_description AS seo_description_10 , s0_ . seo_url AS seo_url_11 FROM static_page s0_ WHERE s0_ . active = true ORDER BY s0_ . created_at ASC ;
Copy
40
0.98 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = ?
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = 1 ;
Copy
41
0.74 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC ;
Copy
42
0.99 ms
SELECT s0_ . id AS id_0 , s0_ . public_id AS public_id_1 , s0_ . title AS title_2 , s0_ . slug AS slug_3 , s0_ . content AS content_4 , s0_ . show_contact_form AS show_contact_form_5 , s0_ . active AS active_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s0_ . seo_title AS seo_title_9 , s0_ . seo_description AS seo_description_10 , s0_ . seo_url AS seo_url_11 FROM static_page s0_ WHERE s0_ . active = true ORDER BY s0_ . created_at ASC
SELECT s0_ . id AS id_0 , s0_ . public_id AS public_id_1 , s0_ . title AS title_2 , s0_ . slug AS slug_3 , s0_ . content AS content_4 , s0_ . show_contact_form AS show_contact_form_5 , s0_ . active AS active_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s0_ . seo_title AS seo_title_9 , s0_ . seo_description AS seo_description_10 , s0_ . seo_url AS seo_url_11 FROM static_page s0_ WHERE s0_ . active = true ORDER BY s0_ . created_at ASC ;
Copy
43
1.13 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = ?
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id WHERE c0_ . is_default = 1 ;
Copy
44
0.79 ms
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC
SELECT c0_ . code AS code_0 , c0_ . is_default AS is_default_1 , c0_ . is_active AS is_active_2 , c0_ . decimal_places AS decimal_places_3 , e1_ . id AS id_4 , e1_ . exchange_rate AS exchange_rate_5 , e1_ . last_automatic_update AS last_automatic_update_6 , e1_ . created_at AS created_at_7 , e1_ . updated_at AS updated_at_8 , e2_ . id AS id_9 , e2_ . exchange_rate AS exchange_rate_10 , e2_ . last_automatic_update AS last_automatic_update_11 , e2_ . created_at AS created_at_12 , e2_ . updated_at AS updated_at_13 , e1_ . currency_from_id AS currency_from_id_14 , e1_ . currency_to_id AS currency_to_id_15 , e2_ . currency_from_id AS currency_from_id_16 , e2_ . currency_to_id AS currency_to_id_17 FROM currency c0_ LEFT JOIN exchange_rate e1_ ON c0_ . code = e1_ . currency_to_id LEFT JOIN exchange_rate e2_ ON c0_ . code = e2_ . currency_from_id ORDER BY c0_ . is_default DESC , c0_ . code ASC ;
Copy
45
1.11 ms
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC ;
Copy
46
1.26 ms
SELECT s0_ . id AS id_0 , s0_ . position AS position_1 , s0_ . title AS title_2 , s0_ . content AS content_3 , s0_ . link_url AS link_url_4 , s0_ . link_label AS link_label_5 , s0_ . is_active AS is_active_6 , f1_ . id AS id_7 , f1_ . size AS size_8 , f1_ . mime_type AS mime_type_9 , f1_ . name AS name_10 , s0_ . image_id AS image_id_11 FROM sidebar_block s0_ LEFT JOIN file f1_ ON s0_ . image_id = f1_ . id WHERE s0_ . is_active = true ORDER BY s0_ . position ASC , s0_ . id ASC
SELECT s0_ . id AS id_0 , s0_ . position AS position_1 , s0_ . title AS title_2 , s0_ . content AS content_3 , s0_ . link_url AS link_url_4 , s0_ . link_label AS link_label_5 , s0_ . is_active AS is_active_6 , f1_ . id AS id_7 , f1_ . size AS size_8 , f1_ . mime_type AS mime_type_9 , f1_ . name AS name_10 , s0_ . image_id AS image_id_11 FROM sidebar_block s0_ LEFT JOIN file f1_ ON s0_ . image_id = f1_ . id WHERE s0_ . is_active = true ORDER BY s0_ . position ASC , s0_ . id ASC ;
Copy
47
1.08 ms
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC
SELECT c0_ . id AS id_0 , c0_ . public_id AS public_id_1 , c0_ . name AS name_2 , c0_ . slug AS slug_3 , c0_ . description AS description_4 , c0_ . lft AS lft_5 , c0_ . lvl AS lvl_6 , c0_ . rgt AS rgt_7 , c0_ . position AS position_8 , c0_ . seo_title AS seo_title_9 , c0_ . seo_description AS seo_description_10 , c0_ . seo_url AS seo_url_11 FROM category c0_ ORDER BY c0_ . tree_root ASC , c0_ . lft ASC ;
Copy
48
1.05 ms
SELECT t0 . id AS id_1 , t0 . rate AS rate_2 FROM tax_rate t0 WHERE t0 . id = ?
Parameters :
[
"d4cbf291-83a9-4c10-97a6-39675f525c02 "
]
SELECT t0 . id AS id_1 , t0 . rate AS rate_2 FROM tax_rate t0 WHERE t0 . id = 'd4cbf291-83a9-4c10-97a6-39675f525c02' ;
Copy
49
0.83 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"7a79ea94-236b-4062-a3b5-5a047d63c05f "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '7a79ea94-236b-4062-a3b5-5a047d63c05f' ;
Copy
50
0.41 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"b69e5f40-0e2c-4563-bb58-4862a8ad6e52 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'b69e5f40-0e2c-4563-bb58-4862a8ad6e52' ;
Copy
51
0.62 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '7d3e9f2b-4c8a-6e1d-9f5a-2b7c4e8d1a6f' ;
Copy
52
0.32 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"cc45c745-c12e-41bc-8660-701bfd56fbf8 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'cc45c745-c12e-41bc-8660-701bfd56fbf8' ;
Copy
53
0.52 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = 'd1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f50' ;
Copy
54
0.40 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"8e88b26e-0d57-44df-8129-fb5e10d3ad7e "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = '8e88b26e-0d57-44df-8129-fb5e10d3ad7e' ;
Copy
55
0.68 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000003 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '0a1b2c3d-0001-4000-8000-000000000003' ;
Copy
56
0.35 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"90d6af1e-4681-4b05-aa5f-2b40ac86a959 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = '90d6af1e-4681-4b05-aa5f-2b40ac86a959' ;
Copy
57
0.49 ms
SELECT t0 . id AS id_1 , t0 . rate AS rate_2 FROM tax_rate t0 WHERE t0 . id = ?
Parameters :
[
"9fc197e0-507f-4666-a8d7-6059449c23a7 "
]
SELECT t0 . id AS id_1 , t0 . rate AS rate_2 FROM tax_rate t0 WHERE t0 . id = '9fc197e0-507f-4666-a8d7-6059449c23a7' ;
Copy
58
0.33 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000008 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '0a1b2c3d-0001-4000-8000-000000000008' ;
Copy
59
0.26 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"ad4408cc-ad2e-4bd5-92f9-a4073e5bca51 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'ad4408cc-ad2e-4bd5-92f9-a4073e5bca51' ;
Copy
60
0.50 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000006 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '0a1b2c3d-0001-4000-8000-000000000006' ;
Copy
61
0.27 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"e506106a-8fff-45b9-80f4-b9bad2a94372 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'e506106a-8fff-45b9-80f4-b9bad2a94372' ;
Copy
62
0.57 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '9a4c2e6f-8b3d-4a1e-7c9f-3b5d8e2a4c6f' ;
Copy
63
0.35 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"776a5a03-305b-4d86-8927-5f2fe9e8dff0 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = '776a5a03-305b-4d86-8927-5f2fe9e8dff0' ;
Copy
64
0.56 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000009 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '0a1b2c3d-0001-4000-8000-000000000009' ;
Copy
65
0.38 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"a7b88ce3-e954-4f0b-b494-3262e9df4570 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'a7b88ce3-e954-4f0b-b494-3262e9df4570' ;
Copy
66
0.39 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"0a1b2c3d-0001-4000-8000-000000000007 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '0a1b2c3d-0001-4000-8000-000000000007' ;
Copy
67
0.25 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"b6327438-1ea2-4a9b-ba8c-119fc6f852e1 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'b6327438-1ea2-4a9b-ba8c-119fc6f852e1' ;
Copy
68
0.62 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '2c5f8e3a-9b1d-4f7c-a6e2-8d4b3c1a5e9f' ;
Copy
69
0.37 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"5206e746-b095-43c2-9f54-6ae3e97d1ef7 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = '5206e746-b095-43c2-9f54-6ae3e97d1ef7' ;
Copy
70
0.61 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"76a82726-403f-48b7-8179-e9c93c33b6cd "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '76a82726-403f-48b7-8179-e9c93c33b6cd' ;
Copy
71
0.38 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"526cd06f-2dc9-4fb9-ab72-c7e95f87c335 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = '526cd06f-2dc9-4fb9-ab72-c7e95f87c335' ;
Copy
72
0.46 ms
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = ?
Parameters :
[
"8e2faafb-53ae-47fd-971e-71abcfc6d912 "
]
SELECT t0 . id AS id_1 , t0 . is_main AS is_main_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 , t0 . file_id AS file_id_5 FROM product_image t0 WHERE t0 . product_id = '8e2faafb-53ae-47fd-971e-71abcfc6d912' ;
Copy
73
0.31 ms
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = ?
Parameters :
[
"c31b897a-ec55-4372-af59-6dc69b6f2b97 "
]
SELECT t0 . id AS id_1 , t0 . size AS size_2 , t0 . mime_type AS mime_type_3 , t0 . name AS name_4 FROM file t0 WHERE t0 . id = 'c31b897a-ec55-4372-af59-6dc69b6f2b97' ;
Copy
74
1.54 ms
SELECT f0_ . id AS id_0 , f0_ . position AS position_1 , f0_ . label AS label_2 , f0_ . url AS url_3 , f0_ . is_active AS is_active_4 FROM footer_link f0_ WHERE f0_ . is_active = true ORDER BY f0_ . position ASC , f0_ . id ASC
SELECT f0_ . id AS id_0 , f0_ . position AS position_1 , f0_ . label AS label_2 , f0_ . url AS url_3 , f0_ . is_active AS is_active_4 FROM footer_link f0_ WHERE f0_ . is_active = true ORDER BY f0_ . position ASC , f0_ . id ASC ;
Copy
75
0.79 ms
SELECT s0_ . id AS id_0 , s0_ . position AS position_1 , s0_ . network AS network_2 , s0_ . url AS url_3 , s0_ . is_active AS is_active_4 FROM social_link s0_ WHERE s0_ . is_active = true ORDER BY s0_ . position ASC , s0_ . id ASC
SELECT s0_ . id AS id_0 , s0_ . position AS position_1 , s0_ . network AS network_2 , s0_ . url AS url_3 , s0_ . is_active AS is_active_4 FROM social_link s0_ WHERE s0_ . is_active = true ORDER BY s0_ . position ASC , s0_ . id ASC ;
Copy