1
0.73 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
2
0.17 ms
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = ?
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = 2 ;
Copy
3
0.08 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
4
0.08 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
5
0.07 ms
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = ?
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = 2 ;
Copy
6
0.09 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
7
0.07 ms
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = ?
SELECT p0_ . id AS id_0 , s1_ . quantity AS quantity_1 , p0_ . name AS name_2 , p0_ . price AS price_3 , p0_ . price * s1_ . quantity AS sclr_4 FROM shopping_cart_product s1_ INNER JOIN product p0_ ON s1_ . product_id = p0_ . id WHERE s1_ . shoppingcart_id = 2 ;
Copy
8
0.07 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
9
0.10 ms
"START TRANSACTION"
"START TRANSACTION" ;
Copy
10
0.21 ms
UPDATE shopping_cart SET state = ? WHERE id = ?
Parameters :
[
"shopping_cart "
2
]
UPDATE shopping_cart SET state = 'shopping_cart' WHERE id = 2 ;
Copy
11
4.07 ms
"COMMIT"
12
0.09 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy
13
0.08 ms
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . state AS state_2 , t0 . session_id AS session_id_3 , t0 . user_id_id AS user_id_id_4 FROM shopping_cart t0 WHERE t0 . session_id = '' LIMIT 1 ;
Copy