• 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: Earliest object in a table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Earliest object in a table


  • Subject: Re: Earliest object in a table
  • From: Christian Pekeler <email@hidden>
  • Date: Wed, 22 Nov 2006 20:34:51 -0700

There must be a few lines, utilizing EOUtilities calls,
that would yield the earliest object, date wise, (there is a stored NSTimestamp field), from a table "Posts".

Create a fetch spec on your Post entity, without qualifier, sort by date ascending, and with a fetch limit of 1 row max. Then use that fetch spec in your favorite way and use the one EO it returns.



Christian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Earliest object in a table (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Earliest object in a table
  • Next by Date: Re: Earliest object in a table
  • Previous by thread: Earliest object in a table
  • Next by thread: Re: Earliest object in a table
  • Index(es):
    • Date
    • Thread