| 1 |
0.81 ms |
SELECT v0_.id AS id_0, v0_.video_id AS video_id_1, v0_.title AS title_2, v0_.description AS description_3, v0_.duration AS duration_4, v0_.playlist_path AS playlist_path_5, v0_.thumbnail_path AS thumbnail_path_6, v0_.preview_path AS preview_path_7, v0_.is_active AS is_active_8, v0_.price AS price_9, v0_.pricing_type AS pricing_type_10, v0_.created_at AS created_at_11, v0_.updated_at AS updated_at_12, v0_.sort_order AS sort_order_13, v0_.views_count AS views_count_14, v0_.likes_count AS likes_count_15, v0_.purchases_count AS purchases_count_16, v0_.comments_count AS comments_count_17, v1_.id AS id_18, v1_.locale AS locale_19, v1_.title AS title_20, v1_.description AS description_21, v1_.created_at AS created_at_22, v1_.updated_at AS updated_at_23, c2_.id AS id_24, c2_.title AS title_25, c2_.image AS image_26, c2_.is_active AS is_active_27, c2_.created_at AS created_at_28, c2_.updated_at AS updated_at_29, c2_.sort_order AS sort_order_30, c3_.id AS id_31, c3_.locale AS locale_32, c3_.title AS title_33, c3_.description AS description_34, c3_.created_at AS created_at_35, c3_.updated_at AS updated_at_36, v0_.linked_photo_gallery_id AS linked_photo_gallery_id_37, v1_.video_id AS video_id_38, c3_.category_id AS category_id_39 FROM video v0_ LEFT JOIN video_translation v1_ ON v0_.id = v1_.video_id AND (v1_.locale = ?) LEFT JOIN video_categories v4_ ON v0_.id = v4_.video_id LEFT JOIN category c2_ ON c2_.id = v4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = ?) WHERE v0_.is_active = ? ORDER BY v0_.created_at DESC LIMIT 6
Parameters: [
"fr"
"fr"
1
]
SELECT v0_.id AS id_0, v0_.video_id AS video_id_1, v0_.title AS title_2, v0_.description AS description_3, v0_.duration AS duration_4, v0_.playlist_path AS playlist_path_5, v0_.thumbnail_path AS thumbnail_path_6, v0_.preview_path AS preview_path_7, v0_.is_active AS is_active_8, v0_.price AS price_9, v0_.pricing_type AS pricing_type_10, v0_.created_at AS created_at_11, v0_.updated_at AS updated_at_12, v0_.sort_order AS sort_order_13, v0_.views_count AS views_count_14, v0_.likes_count AS likes_count_15, v0_.purchases_count AS purchases_count_16, v0_.comments_count AS comments_count_17, v1_.id AS id_18, v1_.locale AS locale_19, v1_.title AS title_20, v1_.description AS description_21, v1_.created_at AS created_at_22, v1_.updated_at AS updated_at_23, c2_.id AS id_24, c2_.title AS title_25, c2_.image AS image_26, c2_.is_active AS is_active_27, c2_.created_at AS created_at_28, c2_.updated_at AS updated_at_29, c2_.sort_order AS sort_order_30, c3_.id AS id_31, c3_.locale AS locale_32, c3_.title AS title_33, c3_.description AS description_34, c3_.created_at AS created_at_35, c3_.updated_at AS updated_at_36, v0_.linked_photo_gallery_id AS linked_photo_gallery_id_37, v1_.video_id AS video_id_38, c3_.category_id AS category_id_39 FROM video v0_ LEFT JOIN video_translation v1_ ON v0_.id = v1_.video_id AND (v1_.locale = 'fr') LEFT JOIN video_categories v4_ ON v0_.id = v4_.video_id LEFT JOIN category c2_ ON c2_.id = v4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = 'fr') WHERE v0_.is_active = 1 ORDER BY v0_.created_at DESC LIMIT 6;
|
| 2 |
0.77 ms |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.main_image AS main_image_2, p0_.description AS description_3, p0_.is_active AS is_active_4, p0_.price AS price_5, p0_.pricing_type AS pricing_type_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.sort_order AS sort_order_9, p0_.views_count AS views_count_10, p0_.likes_count AS likes_count_11, p0_.purchases_count AS purchases_count_12, p0_.comments_count AS comments_count_13, p1_.id AS id_14, p1_.locale AS locale_15, p1_.title AS title_16, p1_.description AS description_17, p1_.created_at AS created_at_18, p1_.updated_at AS updated_at_19, c2_.id AS id_20, c2_.title AS title_21, c2_.image AS image_22, c2_.is_active AS is_active_23, c2_.created_at AS created_at_24, c2_.updated_at AS updated_at_25, c2_.sort_order AS sort_order_26, c3_.id AS id_27, c3_.locale AS locale_28, c3_.title AS title_29, c3_.description AS description_30, c3_.created_at AS created_at_31, c3_.updated_at AS updated_at_32, p1_.photo_id AS photo_id_33, c3_.category_id AS category_id_34 FROM photo p0_ LEFT JOIN photo_translation p1_ ON p0_.id = p1_.photo_id AND (p1_.locale = ?) LEFT JOIN photo_categories p4_ ON p0_.id = p4_.photo_id LEFT JOIN category c2_ ON c2_.id = p4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = ?) WHERE p0_.is_active = ? ORDER BY p0_.created_at DESC LIMIT 6
Parameters: [
"fr"
"fr"
1
]
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.main_image AS main_image_2, p0_.description AS description_3, p0_.is_active AS is_active_4, p0_.price AS price_5, p0_.pricing_type AS pricing_type_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.sort_order AS sort_order_9, p0_.views_count AS views_count_10, p0_.likes_count AS likes_count_11, p0_.purchases_count AS purchases_count_12, p0_.comments_count AS comments_count_13, p1_.id AS id_14, p1_.locale AS locale_15, p1_.title AS title_16, p1_.description AS description_17, p1_.created_at AS created_at_18, p1_.updated_at AS updated_at_19, c2_.id AS id_20, c2_.title AS title_21, c2_.image AS image_22, c2_.is_active AS is_active_23, c2_.created_at AS created_at_24, c2_.updated_at AS updated_at_25, c2_.sort_order AS sort_order_26, c3_.id AS id_27, c3_.locale AS locale_28, c3_.title AS title_29, c3_.description AS description_30, c3_.created_at AS created_at_31, c3_.updated_at AS updated_at_32, p1_.photo_id AS photo_id_33, c3_.category_id AS category_id_34 FROM photo p0_ LEFT JOIN photo_translation p1_ ON p0_.id = p1_.photo_id AND (p1_.locale = 'fr') LEFT JOIN photo_categories p4_ ON p0_.id = p4_.photo_id LEFT JOIN category c2_ ON c2_.id = p4_.category_id LEFT JOIN category_translation c3_ ON c2_.id = c3_.category_id AND (c3_.locale = 'fr') WHERE p0_.is_active = 1 ORDER BY p0_.created_at DESC LIMIT 6;
|
| 3 |
0.34 ms |
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.image AS image_2, c0_.is_active AS is_active_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.sort_order AS sort_order_6, c1_.id AS id_7, c1_.locale AS locale_8, c1_.title AS title_9, c1_.description AS description_10, c1_.created_at AS created_at_11, c1_.updated_at AS updated_at_12, c1_.category_id AS category_id_13 FROM category c0_ LEFT JOIN category_translation c1_ ON c0_.id = c1_.category_id AND (c1_.locale = ?) WHERE c0_.is_active = ? ORDER BY c0_.sort_order ASC, c0_.title ASC LIMIT 10
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.image AS image_2, c0_.is_active AS is_active_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.sort_order AS sort_order_6, c1_.id AS id_7, c1_.locale AS locale_8, c1_.title AS title_9, c1_.description AS description_10, c1_.created_at AS created_at_11, c1_.updated_at AS updated_at_12, c1_.category_id AS category_id_13 FROM category c0_ LEFT JOIN category_translation c1_ ON c0_.id = c1_.category_id AND (c1_.locale = 'fr') WHERE c0_.is_active = 1 ORDER BY c0_.sort_order ASC, c0_.title ASC LIMIT 10;
|