How to do a "SELECT DISTINCT"
How to do a "SELECT DISTINCT"
- Subject: How to do a "SELECT DISTINCT"
- From: Sébastien Gruhier <email@hidden>
- Date: Tue, 22 Mar 2005 22:03:09 +0100
Hi,
I would like to perform a "select distinct" on my database.
Actually I do a fecthSpecification like this
EOFetchSpecification fetchSpec = new EOFetchSpecification("Table",
new EOKeyValueQualifier("attribute",
EOQualifier.QualifierOperatorEqual,
new Integer(1)),
null);
editingContext.objectsWithFetchSpecification(fetchSpec);
I get all elements from
Table that have "
attribute = 1". I would like to add something like only with a distinct
"name".
Any ideas?
Thanks
Seb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden