So, what is QQ::Distinct() for ?!?
If I understood well, on the code:
$objParticipantsArray = Participations::QueryArray(
QQ::AndCondition (
QQ::Equal(QQN::Participations()->ConcoursId, $idConcours),
QQ::Equal(QQN::Participations()->Reponse, 3)
),
QQ::Clause(
QQ::Distinct(),
QQ::OrderBy(QQN::Participations()->Nom, QQN::Participations()->Prenom)
)
);
As Icannot give any parameter to QQ::Distinct() I cannot get rows distingued by a specified column... So I MUST use standard SQL query. A I right?