• 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: SELECT DISTINCT with Display group
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SELECT DISTINCT with Display group


  • Subject: Re: SELECT DISTINCT with Display group
  • From: Kaj Hejer <email@hidden>
  • Date: Tue, 18 Mar 2003 23:25:04 +0100

At 15:19 -0500 18-03-03, Alvaro Muir wrote:
I dont know why this is so hard. I can do this in JSP with my eyes closed. Can someone help me pull a DISTINCT query from a display group app in WO 5.2 ? Im a super newbie.


Hi!

You can create a fetchspec that use fetch distinct in eomodeler and tell your displaygroup to use that fetchspec.

See <url:http://developer.apple.com/techpubs/webobjects/UsingEOModeler/8WorkingWithFetchSpecifications/chapter_8_section_2.html#//apple_ref/doc/uid/DontLinkRandomlyGeneratedID_30/BABCEDBF> for more info.


-Kaj :) _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.

References: 
 >SELECT DISTINCT with Display group (From: Alvaro Muir <email@hidden>)

  • Prev by Date: Re: WebObjects command line parsing help
  • Next by Date: Re: Which Database and Server is easiest to use with Webobjects? (Newbie question)
  • Previous by thread: Re: SELECT DISTINCT with Display group
  • Next by thread: Which Database and Server is easiest to use with Webobjects? (Newbie question)
  • Index(es):
    • Date
    • Thread