1 |
0.80 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 = 1 AND t0.status = 1 LIMIT 1;
|
2 |
0.43 ms |
"START TRANSACTION"
"START TRANSACTION";
|
3 |
0.82 ms |
UPDATE book SET click = ?, updated_at = ? WHERE id = ?
Parameters: [
10
"2025-03-16 06:50:01"
1
]
UPDATE book SET click = 10, updated_at = '2025-03-16 06:50:01' WHERE id = 1;
|
4 |
3.29 ms |
"COMMIT"
|
5 |
0.84 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.64 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 = 1 ORDER BY t0.id DESC LIMIT 3;
|
7 |
0.87 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;
|
8 |
0.58 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 = 1;
|
9 |
0.41 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;
|
10 |
0.30 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;
|
11 |
0.32 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;
|
12 |
0.33 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.54 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;
|