2
11.29 ms
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . pricing_type AS pricing_type_2 , a0_ . price_type AS price_type_3 , a0_ . price AS price_4 , a0_ . max_price AS max_price_5 , a0_ . description AS description_6 , a0_ . business_hours AS business_hours_7 , a0_ . special_business_hours AS special_business_hours_8 , a0_ . images AS images_9 , a0_ . phone AS phone_10 , a0_ . whatsapp_number AS whatsapp_number_11 , a0_ . social_profiles AS social_profiles_12 , a0_ . created_at AS created_at_13 , a0_ . updated_at AS updated_at_14 , a0_ . expires_on AS expires_on_15 , a0_ . slug AS slug_16 , a0_ . views AS views_17 , a0_ . phone_click_count AS phone_click_count_18 , a0_ . phone_reveal_count AS phone_reveal_count_19 , a0_ . avg_rating AS avg_rating_20 , a0_ . deleted_at AS deleted_at_21 , c1_ . id AS id_22 , c1_ . name AS name_23 , c1_ . description AS description_24 , c1_ . menu_order AS menu_order_25 , c1_ . created_at AS created_at_26 , c1_ . updated_at AS updated_at_27 , c1_ . status AS status_28 , c1_ . icon AS icon_29 , v2_ . id AS id_30 , v2_ . name AS name_31 , v2_ . postal_code AS postal_code_32 , a0_ . category_id AS category_id_33 , a0_ . artisan_id AS artisan_id_34 , a0_ . ville_id AS ville_id_35 , a0_ . region_id AS region_id_36 , a0_ . status_id AS status_id_37 , c1_ . parent_category_id AS parent_category_id_38 FROM artisan_post a0_ LEFT JOIN category c1_ ON a0_ . category_id = c1_ . id LEFT JOIN ville v2_ ON a0_ . ville_id = v2_ . id LEFT JOIN review r3_ ON a0_ . id = r3_ . artisan_post_id WHERE a0_ . deleted_at IS NULL AND a0_ . category_id = ? ORDER BY a0_ . created_at DESC
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . pricing_type AS pricing_type_2 , a0_ . price_type AS price_type_3 , a0_ . price AS price_4 , a0_ . max_price AS max_price_5 , a0_ . description AS description_6 , a0_ . business_hours AS business_hours_7 , a0_ . special_business_hours AS special_business_hours_8 , a0_ . images AS images_9 , a0_ . phone AS phone_10 , a0_ . whatsapp_number AS whatsapp_number_11 , a0_ . social_profiles AS social_profiles_12 , a0_ . created_at AS created_at_13 , a0_ . updated_at AS updated_at_14 , a0_ . expires_on AS expires_on_15 , a0_ . slug AS slug_16 , a0_ . views AS views_17 , a0_ . phone_click_count AS phone_click_count_18 , a0_ . phone_reveal_count AS phone_reveal_count_19 , a0_ . avg_rating AS avg_rating_20 , a0_ . deleted_at AS deleted_at_21 , c1_ . id AS id_22 , c1_ . name AS name_23 , c1_ . description AS description_24 , c1_ . menu_order AS menu_order_25 , c1_ . created_at AS created_at_26 , c1_ . updated_at AS updated_at_27 , c1_ . status AS status_28 , c1_ . icon AS icon_29 , v2_ . id AS id_30 , v2_ . name AS name_31 , v2_ . postal_code AS postal_code_32 , a0_ . category_id AS category_id_33 , a0_ . artisan_id AS artisan_id_34 , a0_ . ville_id AS ville_id_35 , a0_ . region_id AS region_id_36 , a0_ . status_id AS status_id_37 , c1_ . parent_category_id AS parent_category_id_38 FROM artisan_post a0_ LEFT JOIN category c1_ ON a0_ . category_id = c1_ . id LEFT JOIN ville v2_ ON a0_ . ville_id = v2_ . id LEFT JOIN review r3_ ON a0_ . id = r3_ . artisan_post_id WHERE a0_ . deleted_at IS NULL AND a0_ . category_id = 100 ORDER BY a0_ . created_at DESC ;
Copy