Forums / Developer / Fecthing equivalent of DISTINCT or UNIQUE

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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