1
0.73 ms
SELECT t0 . id AS id_1 , t0 . username AS username_2 , t0 . email AS email_3 , t0 . name AS name_4 , t0 . surname AS surname_5 , t0 . roles AS roles_6 , t0 . mobile_phone AS mobile_phone_7 , t0 . address AS address_8 , t0 . city AS city_9 , t0 . zip_code AS zip_code_10 , t0 . state AS state_11 , t0 . country AS country_12 , t0 . price_modifier AS price_modifier_13 , t0 . password AS password_14 , t0 . reset_password_token AS reset_password_token_15 , t0 . locale AS locale_16 , t0 . double_factor_method AS double_factor_method_17 , t0 . auth_code AS auth_code_18 , t0 . google_authenticator_secret AS google_authenticator_secret_19 , t0 . disabled_at AS disabled_at_20 , t0 . last_login_at AS last_login_at_21 , t0 . last_login_ip AS last_login_ip_22 , t0 . previous_login_at AS previous_login_at_23 , t0 . previous_login_ip AS previous_login_ip_24 , t0 . created_at AS created_at_25 , t0 . updated_at AS updated_at_26 FROM users t0 WHERE t0 . id = ?
Parameters :
[
"e1d213a7-a827-410f-8a36-623e68f7991b "
]
SELECT t0 . id AS id_1 , t0 . username AS username_2 , t0 . email AS email_3 , t0 . name AS name_4 , t0 . surname AS surname_5 , t0 . roles AS roles_6 , t0 . mobile_phone AS mobile_phone_7 , t0 . address AS address_8 , t0 . city AS city_9 , t0 . zip_code AS zip_code_10 , t0 . state AS state_11 , t0 . country AS country_12 , t0 . price_modifier AS price_modifier_13 , t0 . password AS password_14 , t0 . reset_password_token AS reset_password_token_15 , t0 . locale AS locale_16 , t0 . double_factor_method AS double_factor_method_17 , t0 . auth_code AS auth_code_18 , t0 . google_authenticator_secret AS google_authenticator_secret_19 , t0 . disabled_at AS disabled_at_20 , t0 . last_login_at AS last_login_at_21 , t0 . last_login_ip AS last_login_ip_22 , t0 . previous_login_at AS previous_login_at_23 , t0 . previous_login_ip AS previous_login_ip_24 , t0 . created_at AS created_at_25 , t0 . updated_at AS updated_at_26 FROM users t0 WHERE t0 . id = 'e1d213a7-a827-410f-8a36-623e68f7991b' ;
Copy
2
0.88 ms
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , created_at_8 FROM (SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 FROM `order` o0_ WHERE o0_ . status = ? ) dctrn_result_inner ORDER BY created_at_8 DESC ) dctrn_result LIMIT 1
Parameters :
[
"Pending "
]
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , created_at_8 FROM (SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 FROM `order` o0_ WHERE o0_ . status = 'Pending' ) dctrn_result_inner ORDER BY created_at_8 DESC ) dctrn_result LIMIT 1 ;
Copy
3
0.68 ms
SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 , o0_ . user_id AS user_id_10 , o0_ . cart_id AS cart_id_11 FROM `order` o0_ WHERE o0_ . status = ? AND o0_ . id IN (? ) ORDER BY o0_ . created_at DESC
Parameters :
[
"Pending "
"4b74b66c-e314-4ad9-a737-fbf0f55c9be7 "
]
SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 , o0_ . user_id AS user_id_10 , o0_ . cart_id AS cart_id_11 FROM `order` o0_ WHERE o0_ . status = 'Pending' AND o0_ . id IN ('4b74b66c-e314-4ad9-a737-fbf0f55c9be7' ) ORDER BY o0_ . created_at DESC ;
Copy
4
0.86 ms
SELECT t0 . id AS id_1 , t0 . product_name AS product_name_2 , t0 . product_reference AS product_reference_3 , t0 . quantity AS quantity_4 , t0 . price AS price_5 , t0 . amount AS amount_6 , t0 . vat_rate AS vat_rate_7 , t0 . vat_amount AS vat_amount_8 , t0 . status AS status_9 , t0 . created_at AS created_at_10 , t0 . updated_at AS updated_at_11 , t0 . order_id AS order_id_12 , t0 . product_id AS product_id_13 FROM order_item t0 WHERE t0 . order_id = ?
Parameters :
[
"4b74b66c-e314-4ad9-a737-fbf0f55c9be7 "
]
SELECT t0 . id AS id_1 , t0 . product_name AS product_name_2 , t0 . product_reference AS product_reference_3 , t0 . quantity AS quantity_4 , t0 . price AS price_5 , t0 . amount AS amount_6 , t0 . vat_rate AS vat_rate_7 , t0 . vat_amount AS vat_amount_8 , t0 . status AS status_9 , t0 . created_at AS created_at_10 , t0 . updated_at AS updated_at_11 , t0 . order_id AS order_id_12 , t0 . product_id AS product_id_13 FROM order_item t0 WHERE t0 . order_id = '4b74b66c-e314-4ad9-a737-fbf0f55c9be7' ;
Copy
5
0.65 ms
SELECT t0 . id AS id_1 , t0 . username AS username_2 , t0 . email AS email_3 , t0 . name AS name_4 , t0 . surname AS surname_5 , t0 . roles AS roles_6 , t0 . mobile_phone AS mobile_phone_7 , t0 . address AS address_8 , t0 . city AS city_9 , t0 . zip_code AS zip_code_10 , t0 . state AS state_11 , t0 . country AS country_12 , t0 . price_modifier AS price_modifier_13 , t0 . password AS password_14 , t0 . reset_password_token AS reset_password_token_15 , t0 . locale AS locale_16 , t0 . double_factor_method AS double_factor_method_17 , t0 . auth_code AS auth_code_18 , t0 . google_authenticator_secret AS google_authenticator_secret_19 , t0 . disabled_at AS disabled_at_20 , t0 . last_login_at AS last_login_at_21 , t0 . last_login_ip AS last_login_ip_22 , t0 . previous_login_at AS previous_login_at_23 , t0 . previous_login_ip AS previous_login_ip_24 , t0 . created_at AS created_at_25 , t0 . updated_at AS updated_at_26 FROM users t0 WHERE t0 . id = ?
Parameters :
[
"dc2353b0-9c21-4c38-b703-d18dba3445d6 "
]
SELECT t0 . id AS id_1 , t0 . username AS username_2 , t0 . email AS email_3 , t0 . name AS name_4 , t0 . surname AS surname_5 , t0 . roles AS roles_6 , t0 . mobile_phone AS mobile_phone_7 , t0 . address AS address_8 , t0 . city AS city_9 , t0 . zip_code AS zip_code_10 , t0 . state AS state_11 , t0 . country AS country_12 , t0 . price_modifier AS price_modifier_13 , t0 . password AS password_14 , t0 . reset_password_token AS reset_password_token_15 , t0 . locale AS locale_16 , t0 . double_factor_method AS double_factor_method_17 , t0 . auth_code AS auth_code_18 , t0 . google_authenticator_secret AS google_authenticator_secret_19 , t0 . disabled_at AS disabled_at_20 , t0 . last_login_at AS last_login_at_21 , t0 . last_login_ip AS last_login_ip_22 , t0 . previous_login_at AS previous_login_at_23 , t0 . previous_login_ip AS previous_login_ip_24 , t0 . created_at AS created_at_25 , t0 . updated_at AS updated_at_26 FROM users t0 WHERE t0 . id = 'dc2353b0-9c21-4c38-b703-d18dba3445d6' ;
Copy
6
0.62 ms
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 FROM `order` o0_ WHERE o0_ . status = ? ORDER BY o0_ . created_at DESC ) dctrn_result ) dctrn_table
Parameters :
[
"Pending "
]
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT o0_ . id AS id_0 , o0_ . order_number AS order_number_1 , o0_ . status AS status_2 , o0_ . shipping AS shipping_3 , o0_ . total AS total_4 , o0_ . price_modifier AS price_modifier_5 , o0_ . price_modifier_amount AS price_modifier_amount_6 , o0_ . external_number AS external_number_7 , o0_ . created_at AS created_at_8 , o0_ . updated_at AS updated_at_9 FROM `order` o0_ WHERE o0_ . status = 'Pending' ORDER BY o0_ . created_at DESC ) dctrn_result ) dctrn_table ;
Copy