| 2 |
2.26 ms |
SELECT m0_.id AS id_0, m0_.titre AS titre_1, m0_.video AS video_2, m0_.poster AS poster_3, m0_.categorie AS categorie_4, m0_.legende AS legende_5, m0_.title AS title_6, m0_.actif AS actif_7, m0_.date_crea AS date_crea_8, m0_.date_modif AS date_modif_9, m0_.poster_bd AS poster_bd_10, m0_.ordre_g AS ordre_g_11, m0_.ordre AS ordre_12 FROM medias m0_ LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id WHERE m0_.actif = 1 AND LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(m0_.titre, '-', ' '), ',', ''), '\'', ' '), '’', ' '), 'é', 'e'), 'è', 'e'), 'ê', 'e'), 'ë', 'e'), 'à', 'a'), 'â', 'a'), 'ä', 'a'), 'î', 'i'), 'ï', 'i'), 'ù', 'u'), 'û', 'u'), 'ü', 'u')) LIKE ? AND a1_.nom LIKE ? ORDER BY m0_.titre ASC
Parameters: [
"%le cor%"
"Trenet"
]
SELECT
m0_.id AS id_0,
m0_.titre AS titre_1,
m0_.video AS video_2,
m0_.poster AS poster_3,
m0_.categorie AS categorie_4,
m0_.legende AS legende_5,
m0_.title AS title_6,
m0_.actif AS actif_7,
m0_.date_crea AS date_crea_8,
m0_.date_modif AS date_modif_9,
m0_.poster_bd AS poster_bd_10,
m0_.ordre_g AS ordre_g_11,
m0_.ordre AS ordre_12
FROM
medias m0_
LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id
LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id
WHERE
m0_.actif = 1
AND LOWER(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(m0_.titre, '-', ' '),
',',
''
),
'\'',
' '
),
'’',
' '
),
'é',
'e'
),
'è',
'e'
),
'ê',
'e'
),
'ë',
'e'
),
'à',
'a'
),
'â',
'a'
),
'ä',
'a'
),
'î',
'i'
),
'ï',
'i'
),
'ù',
'u'
),
'û',
'u'
),
'ü',
'u'
)
) LIKE ?
AND a1_.nom LIKE ?
ORDER BY
m0_.titre ASC
SELECT m0_.id AS id_0, m0_.titre AS titre_1, m0_.video AS video_2, m0_.poster AS poster_3, m0_.categorie AS categorie_4, m0_.legende AS legende_5, m0_.title AS title_6, m0_.actif AS actif_7, m0_.date_crea AS date_crea_8, m0_.date_modif AS date_modif_9, m0_.poster_bd AS poster_bd_10, m0_.ordre_g AS ordre_g_11, m0_.ordre AS ordre_12 FROM medias m0_ LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id WHERE m0_.actif = 1 AND LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(m0_.titre, '-', ' '), ',', ''), '\'', ' '), '’', ' '), 'é', 'e'), 'è', 'e'), 'ê', 'e'), 'ë', 'e'), 'à', 'a'), 'â', 'a'), 'ä', 'a'), 'î', 'i'), 'ï', 'i'), 'ù', 'u'), 'û', 'u'), 'ü', 'u')) LIKE '%le cor%' AND a1_.nom LIKE 'Trenet' ORDER BY m0_.titre ASC;
|
| 4 |
0.86 ms |
SELECT m0_.id AS id_0, m0_.titre AS titre_1, m0_.video AS video_2, m0_.poster AS poster_3, m0_.categorie AS categorie_4, m0_.legende AS legende_5, m0_.title AS title_6, m0_.actif AS actif_7, m0_.date_crea AS date_crea_8, m0_.date_modif AS date_modif_9, m0_.poster_bd AS poster_bd_10, m0_.ordre_g AS ordre_g_11, m0_.ordre AS ordre_12 FROM medias m0_ LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id WHERE LOWER(REPLACE(REPLACE(REPLACE(a1_.nom, 'é', 'e'), 'è', 'e'), 'ê', 'e')) LIKE ? AND LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(m0_.titre, '', ''), '\'', ' '), '’', ' '), 'é', 'e'), 'è', 'e'), 'ê', 'e'), 'ë', 'e'), 'à', 'a'), 'â', 'a'), 'ä', 'a'), 'î', 'i'), 'ï', 'i'), 'ù', 'u'), 'û', 'u'), 'ü', 'u')) LIKE ? ORDER BY m0_.date_crea DESC
Parameters: [
"Trenet"
"Le cor"
]
SELECT
m0_.id AS id_0,
m0_.titre AS titre_1,
m0_.video AS video_2,
m0_.poster AS poster_3,
m0_.categorie AS categorie_4,
m0_.legende AS legende_5,
m0_.title AS title_6,
m0_.actif AS actif_7,
m0_.date_crea AS date_crea_8,
m0_.date_modif AS date_modif_9,
m0_.poster_bd AS poster_bd_10,
m0_.ordre_g AS ordre_g_11,
m0_.ordre AS ordre_12
FROM
medias m0_
LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id
LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id
WHERE
LOWER(
REPLACE(
REPLACE(
REPLACE(a1_.nom, 'é', 'e'),
'è',
'e'
),
'ê',
'e'
)
) LIKE ?
AND LOWER(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(m0_.titre, '', ''),
'\'',
' '
),
'’',
' '
),
'é',
'e'
),
'è',
'e'
),
'ê',
'e'
),
'ë',
'e'
),
'à',
'a'
),
'â',
'a'
),
'ä',
'a'
),
'î',
'i'
),
'ï',
'i'
),
'ù',
'u'
),
'û',
'u'
),
'ü',
'u'
)
) LIKE ?
ORDER BY
m0_.date_crea DESC
SELECT m0_.id AS id_0, m0_.titre AS titre_1, m0_.video AS video_2, m0_.poster AS poster_3, m0_.categorie AS categorie_4, m0_.legende AS legende_5, m0_.title AS title_6, m0_.actif AS actif_7, m0_.date_crea AS date_crea_8, m0_.date_modif AS date_modif_9, m0_.poster_bd AS poster_bd_10, m0_.ordre_g AS ordre_g_11, m0_.ordre AS ordre_12 FROM medias m0_ LEFT JOIN medias_auteurs m2_ ON m0_.id = m2_.medias_id LEFT JOIN auteurs a1_ ON a1_.id = m2_.auteurs_id WHERE LOWER(REPLACE(REPLACE(REPLACE(a1_.nom, 'é', 'e'), 'è', 'e'), 'ê', 'e')) LIKE 'Trenet' AND LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(m0_.titre, '', ''), '\'', ' '), '’', ' '), 'é', 'e'), 'è', 'e'), 'ê', 'e'), 'ë', 'e'), 'à', 'a'), 'â', 'a'), 'ä', 'a'), 'î', 'i'), 'ï', 'i'), 'ù', 'u'), 'û', 'u'), 'ü', 'u')) LIKE 'Le cor' ORDER BY m0_.date_crea DESC;
|