• 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: getting distinct rows with a model fetch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting distinct rows with a model fetch


  • Subject: Re: getting distinct rows with a model fetch
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 26 Jan 2005 19:57:29 -0800


On Jan 26, 2005, at 7:37 PM, Greg Smith wrote:

I need to get just the distinct dates in a table. If I use the distinct option in the model fetch specs, I get all the fields set for distinct. Am I missing something? Is there a way to make just one field distinct with a model fetch?

If you're just interested in distinct values for a single attribute, then do a raw row fetch setting the raw row key path(s) to just that attribute (and set fetch distinct).


mmalc


_______________________________________________ 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
References: 
 >getting distinct rows with a model fetch (From: Greg Smith <email@hidden>)

  • Prev by Date: getting distinct rows with a model fetch
  • Next by Date: RE: NIB and Java Client
  • Previous by thread: getting distinct rows with a model fetch
  • Next by thread: "Cron" a method
  • Index(es):
    • Date
    • Thread