• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to do a "SELECT DISTINCT"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a "SELECT DISTINCT"


  • Subject: Re: How to do a "SELECT DISTINCT"
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 22 Mar 2005 13:23:38 -0800

On Mar 22, 2005, at 1:03 pm, Sébastien Gruhier wrote:

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?


RTFM: http://developer.apple.com/documentation/WebObjects/Reference/API/com/ webobjects/eocontrol/EOFetchSpecification.html#setUsesDistinct(boolean)


sacha


-- Sacha Michel Mallais - 400 lb. chimp Global Village Consulting Inc.: http://www.global-village.net/ 1. Never tell everything at once. -- Ken Venturi, Ken Venturi's Two Great Rules of Life

_______________________________________________
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


  • Follow-Ups:
    • Re: How to do a "SELECT DISTINCT"
      • From: Chuck Hill <email@hidden>
References: 
 >How to do a "SELECT DISTINCT" (From: Sébastien Gruhier <email@hidden>)

  • Prev by Date: How to do a "SELECT DISTINCT"
  • Next by Date: Re: How to do a "SELECT DISTINCT"
  • Previous by thread: How to do a "SELECT DISTINCT"
  • Next by thread: Re: How to do a "SELECT DISTINCT"
  • Index(es):
    • Date
    • Thread