Re: getting distinct rows with a model fetch
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