| 3 |
2.17 ms |
SELECT COUNT(l0_.id) AS sclr_0, p1_.id AS id_1, p1_.content AS content_2, p1_.created_at AS created_at_3, p1_.is_brouillon AS is_brouillon_4, p1_.adresseip AS adresseip_5, p1_.is_statut AS is_statut_6, c2_.id AS id_7, c2_.nom AS nom_8, c2_.ordre AS ordre_9, c2_.photo AS photo_10, m3_.id AS id_11, m3_.email AS email_12, m3_.username AS username_13, m3_.roles AS roles_14, m3_.password AS password_15, m3_.biographie AS biographie_16, m3_.money AS money_17, m3_.created_at AS created_at_18, m3_.updated_at AS updated_at_19, m3_.last_activity AS last_activity_20, m3_.naissance AS naissance_21, m3_.is_verified AS is_verified_22, m3_.is_public AS is_public_23, m3_.ip AS ip_24, m3_.lastip AS lastip_25, l0_.id AS id_26, l0_.ip_vote AS ip_vote_27, l0_.is_active AS is_active_28, f4_.id AS id_29, f4_.filename AS filename_30, f4_.title AS title_31, f4_.type AS type_32, p1_.membre_id AS membre_id_33, p1_.categorie_id AS categorie_id_34, p1_.post_id AS post_id_35, m3_.parrain_id AS parrain_id_36, l0_.membre_id AS membre_id_37, l0_.post_id AS post_id_38, f4_.membre_id AS membre_id_39, f4_.post_id AS post_id_40 FROM posts p1_ INNER JOIN categories c2_ ON p1_.categorie_id = c2_.id INNER JOIN membres m3_ ON p1_.membre_id = m3_.id LEFT JOIN likes l0_ ON p1_.id = l0_.post_id LEFT JOIN files f4_ ON p1_.id = f4_.post_id WHERE m3_.is_public = ? AND (p1_.post_id = 0 OR p1_.post_id IS NULL) AND p1_.is_statut = 1 AND p1_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY p1_.id ORDER BY p1_.created_at DESC
Parameters: [
1
3351
3350
3349
3348
3343
3328
3323
3322
3320
3319
]
SELECT
COUNT(l0_.id) AS sclr_0,
p1_.id AS id_1,
p1_.content AS content_2,
p1_.created_at AS created_at_3,
p1_.is_brouillon AS is_brouillon_4,
p1_.adresseip AS adresseip_5,
p1_.is_statut AS is_statut_6,
c2_.id AS id_7,
c2_.nom AS nom_8,
c2_.ordre AS ordre_9,
c2_.photo AS photo_10,
m3_.id AS id_11,
m3_.email AS email_12,
m3_.username AS username_13,
m3_.roles AS roles_14,
m3_.password AS password_15,
m3_.biographie AS biographie_16,
m3_.money AS money_17,
m3_.created_at AS created_at_18,
m3_.updated_at AS updated_at_19,
m3_.last_activity AS last_activity_20,
m3_.naissance AS naissance_21,
m3_.is_verified AS is_verified_22,
m3_.is_public AS is_public_23,
m3_.ip AS ip_24,
m3_.lastip AS lastip_25,
l0_.id AS id_26,
l0_.ip_vote AS ip_vote_27,
l0_.is_active AS is_active_28,
f4_.id AS id_29,
f4_.filename AS filename_30,
f4_.title AS title_31,
f4_.type AS type_32,
p1_.membre_id AS membre_id_33,
p1_.categorie_id AS categorie_id_34,
p1_.post_id AS post_id_35,
m3_.parrain_id AS parrain_id_36,
l0_.membre_id AS membre_id_37,
l0_.post_id AS post_id_38,
f4_.membre_id AS membre_id_39,
f4_.post_id AS post_id_40
FROM
posts p1_
INNER JOIN categories c2_ ON p1_.categorie_id = c2_.id
INNER JOIN membres m3_ ON p1_.membre_id = m3_.id
LEFT JOIN likes l0_ ON p1_.id = l0_.post_id
LEFT JOIN files f4_ ON p1_.id = f4_.post_id
WHERE
m3_.is_public = ?
AND (
p1_.post_id = 0
OR p1_.post_id IS NULL
)
AND p1_.is_statut = 1
AND p1_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
GROUP BY
p1_.id
ORDER BY
p1_.created_at DESC
SELECT COUNT(l0_.id) AS sclr_0, p1_.id AS id_1, p1_.content AS content_2, p1_.created_at AS created_at_3, p1_.is_brouillon AS is_brouillon_4, p1_.adresseip AS adresseip_5, p1_.is_statut AS is_statut_6, c2_.id AS id_7, c2_.nom AS nom_8, c2_.ordre AS ordre_9, c2_.photo AS photo_10, m3_.id AS id_11, m3_.email AS email_12, m3_.username AS username_13, m3_.roles AS roles_14, m3_.password AS password_15, m3_.biographie AS biographie_16, m3_.money AS money_17, m3_.created_at AS created_at_18, m3_.updated_at AS updated_at_19, m3_.last_activity AS last_activity_20, m3_.naissance AS naissance_21, m3_.is_verified AS is_verified_22, m3_.is_public AS is_public_23, m3_.ip AS ip_24, m3_.lastip AS lastip_25, l0_.id AS id_26, l0_.ip_vote AS ip_vote_27, l0_.is_active AS is_active_28, f4_.id AS id_29, f4_.filename AS filename_30, f4_.title AS title_31, f4_.type AS type_32, p1_.membre_id AS membre_id_33, p1_.categorie_id AS categorie_id_34, p1_.post_id AS post_id_35, m3_.parrain_id AS parrain_id_36, l0_.membre_id AS membre_id_37, l0_.post_id AS post_id_38, f4_.membre_id AS membre_id_39, f4_.post_id AS post_id_40 FROM posts p1_ INNER JOIN categories c2_ ON p1_.categorie_id = c2_.id INNER JOIN membres m3_ ON p1_.membre_id = m3_.id LEFT JOIN likes l0_ ON p1_.id = l0_.post_id LEFT JOIN files f4_ ON p1_.id = f4_.post_id WHERE m3_.is_public = 1 AND (p1_.post_id = 0 OR p1_.post_id IS NULL) AND p1_.is_statut = 1 AND p1_.id IN (3351, 3350, 3349, 3348, 3343, 3328, 3323, 3322, 3320, 3319) GROUP BY p1_.id ORDER BY p1_.created_at DESC;
|