Forums / Developer / Fecthing equivalent of DISTINCT or UNIQUE

Fecthing equivalent of DISTINCT or UNIQUE

Author Message

Felipe Jaramillo

Friday 30 September 2005 2:45:22 pm

I was curious if there was an equivalent of an SQL DISTINCT or UNIQUE clause for an object attribute.

Eg. if you have an ezstring attribute of Cities, it would be useful to fetch only unique cities to build a dropdown menu or something.

Regards,
Felipe

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia