1.52 ms (29.70%)
|
1 |
SELECT p0_.id AS id_0, p0_.nom_produit AS nom_produit_1, p1_.prix AS prix_2, p1_.date_fin AS date_fin_3, c2_.nom AS nom_4, MIN(i3_.url) AS sclr_5 FROM produits p0_ LEFT JOIN promo p1_ ON p0_.id = p1_.le_produit_id AND (p1_.date_debut <= CURRENT_TIMESTAMP AND p1_.date_fin >= CURRENT_TIMESTAMP OR p1_.id IS NULL) LEFT JOIN categorie_promo c2_ ON p1_.la_categorie_promo_id = c2_.id LEFT JOIN produits_images p4_ ON p0_.id = p4_.produits_id LEFT JOIN images i3_ ON i3_.id = p4_.images_id WHERE c2_.nom = ? GROUP BY p0_.id, p0_.nom_produit ORDER BY p0_.id ASC LIMIT 1
Parameters: [
"Vendredi"
]
SELECT p0_.id AS id_0, p0_.nom_produit AS nom_produit_1, p1_.prix AS prix_2, p1_.date_fin AS date_fin_3, c2_.nom AS nom_4, MIN(i3_.url) AS sclr_5 FROM produits p0_ LEFT JOIN promo p1_ ON p0_.id = p1_.le_produit_id AND (p1_.date_debut <= CURRENT_TIMESTAMP AND p1_.date_fin >= CURRENT_TIMESTAMP OR p1_.id IS NULL) LEFT JOIN categorie_promo c2_ ON p1_.la_categorie_promo_id = c2_.id LEFT JOIN produits_images p4_ ON p0_.id = p4_.produits_id LEFT JOIN images i3_ ON i3_.id = p4_.images_id WHERE c2_.nom = 'Vendredi' GROUP BY p0_.id, p0_.nom_produit ORDER BY p0_.id ASC LIMIT 1;
|
0.62 ms (12.14%)
|
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.prenom AS prenom_6, t0.telephone AS telephone_7, t0.classe AS classe_8, t0.fidelite AS fidelite_9, t0.photo_url AS photo_url_10, t0.fcm_token AS fcm_token_11, t0.display_name AS display_name_12, t0.is_leaderboard_opt_in AS is_leaderboard_opt_in_13, t0.pref_newsletter AS pref_newsletter_14, t0.pref_promo_notifications AS pref_promo_notifications_15, t0.pref_order_alerts AS pref_order_alerts_16, t0.reset_token AS reset_token_17, t0.reset_token_expiry AS reset_token_expiry_18 FROM user t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.prenom AS prenom_6, t0.telephone AS telephone_7, t0.classe AS classe_8, t0.fidelite AS fidelite_9, t0.photo_url AS photo_url_10, t0.fcm_token AS fcm_token_11, t0.display_name AS display_name_12, t0.is_leaderboard_opt_in AS is_leaderboard_opt_in_13, t0.pref_newsletter AS pref_newsletter_14, t0.pref_promo_notifications AS pref_promo_notifications_15, t0.pref_order_alerts AS pref_order_alerts_16, t0.reset_token AS reset_token_17, t0.reset_token_expiry AS reset_token_expiry_18 FROM user t0 WHERE t0.id = 43;
|