Ticket #1 (closed new feature: fixed)
attribut distinct
| Reported by: | zagor | Owned by: | laurentj |
|---|---|---|---|
| Priority: | normal | Milestone: | Jelix 1.0 RC1 |
| Component: | jelix:dao | Version: | 1.0alpha4 |
| Severity: | normal | Keywords: | |
| Cc: | Php version: | ||
| Review: | Hosting Provider: | ||
| Blocked By: | Documentation needed: | ||
| Blocking: |
Description
<factory> <method name="findNomByCiv" type="select" distinct="nom"> <parameter name="civ" /> <conditions> <eq property="civilisation" expr="$civ" /> </conditions> <order> <orderitem property="nom" way="asc" /> </order> </method> </factory>
Avec ceci le distinct se fait sur l'ensemble des champs de la base et non pas uniquement sur nom.
Change History
Note: See
TracTickets for help on using
tickets.
