1 |
0.49 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.isbn AS isbn_3, t0.language AS language_4, t0.sub_title AS sub_title_5, t0.status AS status_6, t0.status_visible AS status_visible_7, t0.description AS description_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.click AS click_11, t0.image AS image_12, t0.book_feature AS book_feature_13, t0.synopsis AS synopsis_14, t0.number_of_pages AS number_of_pages_15, t0.publication_date AS publication_date_16, t0.category_id AS category_id_17, t0.publisher_id AS publisher_id_18 FROM book t0 WHERE t0.id = ? AND t0.status = ? LIMIT 1
SELECT t0.id AS id_1, t0.title AS title_2, t0.isbn AS isbn_3, t0.language AS language_4, t0.sub_title AS sub_title_5, t0.status AS status_6, t0.status_visible AS status_visible_7, t0.description AS description_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.click AS click_11, t0.image AS image_12, t0.book_feature AS book_feature_13, t0.synopsis AS synopsis_14, t0.number_of_pages AS number_of_pages_15, t0.publication_date AS publication_date_16, t0.category_id AS category_id_17, t0.publisher_id AS publisher_id_18 FROM book t0 WHERE t0.id = 2 AND t0.status = 1 LIMIT 1;
|
2 |
0.23 ms |
"START TRANSACTION"
"START TRANSACTION";
|
3 |
0.45 ms |
UPDATE book SET click = ?, updated_at = ? WHERE id = ?
Parameters: [
10
"2025-03-14 02:51:12"
2
]
UPDATE book SET click = 10, updated_at = '2025-03-14 02:51:12' WHERE id = 2;
|
4 |
1.79 ms |
"COMMIT"
|
5 |
0.43 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.isbn AS isbn_3, t0.language AS language_4, t0.sub_title AS sub_title_5, t0.status AS status_6, t0.status_visible AS status_visible_7, t0.description AS description_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.click AS click_11, t0.image AS image_12, t0.book_feature AS book_feature_13, t0.synopsis AS synopsis_14, t0.number_of_pages AS number_of_pages_15, t0.publication_date AS publication_date_16, t0.category_id AS category_id_17, t0.publisher_id AS publisher_id_18 FROM book t0 WHERE t0.status = ? ORDER BY t0.id DESC LIMIT 4
SELECT t0.id AS id_1, t0.title AS title_2, t0.isbn AS isbn_3, t0.language AS language_4, t0.sub_title AS sub_title_5, t0.status AS status_6, t0.status_visible AS status_visible_7, t0.description AS description_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.click AS click_11, t0.image AS image_12, t0.book_feature AS book_feature_13, t0.synopsis AS synopsis_14, t0.number_of_pages AS number_of_pages_15, t0.publication_date AS publication_date_16, t0.category_id AS category_id_17, t0.publisher_id AS publisher_id_18 FROM book t0 WHERE t0.status = 1 ORDER BY t0.id DESC LIMIT 4;
|
6 |
0.28 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.location AS location_3, t0.message AS message_4, t0.stars AS stars_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.book_id AS book_id_8 FROM testimonial t0 WHERE t0.book_id = ? ORDER BY t0.id DESC LIMIT 3
SELECT t0.id AS id_1, t0.name AS name_2, t0.location AS location_3, t0.message AS message_4, t0.stars AS stars_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.book_id AS book_id_8 FROM testimonial t0 WHERE t0.book_id = 2 ORDER BY t0.id DESC LIMIT 3;
|
7 |
0.37 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM category t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM category t0 WHERE t0.id = 4;
|
8 |
0.32 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.book_id AS book_id_4, t0.tag_id AS tag_id_5 FROM book_tag t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.book_id AS book_id_4, t0.tag_id AS tag_id_5 FROM book_tag t0 WHERE t0.book_id = 2;
|
9 |
0.24 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = 7;
|
10 |
0.23 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = 8;
|
11 |
0.22 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM tag t0 WHERE t0.id = 9;
|
12 |
0.27 ms |
SELECT t0.id AS id_1, t0.link AS link_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.book_id AS book_id_6, t0.shop_id AS shop_id_7 FROM book_shop t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.link AS link_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.book_id AS book_id_6, t0.shop_id AS shop_id_7 FROM book_shop t0 WHERE t0.book_id = 2;
|
13 |
0.21 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM shop t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM shop t0 WHERE t0.id = 1;
|
14 |
0.23 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM shop t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM shop t0 WHERE t0.id = 4;
|
15 |
0.20 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM category t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM category t0 WHERE t0.id = 1;
|
16 |
0.27 ms |
SELECT t0.id AS id_1, t0.link AS link_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.book_id AS book_id_6, t0.shop_id AS shop_id_7 FROM book_shop t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.link AS link_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.book_id AS book_id_6, t0.shop_id AS shop_id_7 FROM book_shop t0 WHERE t0.book_id = 1;
|