• 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: EQFetchSpecification "hints"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EQFetchSpecification "hints"


  • Subject: Re: EQFetchSpecification "hints"
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 10 Feb 2006 02:35:06 +1100

Hi there,

On 09/02/2006, at 3:38 PM, Kieran Kelleher wrote:

How does the NSDictionary "hints" argument in EOFetchSpecification constructor work?

-- EOFetchSpecifications doc --
public void setHints(NSDictionary hints)
Sets the receiver's hints to hints. Any object that uses an EOFetchSpecification can define its own hints that it uses to alter or optimise fetch operations. For example, EODatabaseContext uses a hint identified by the key CustomQueryExpressionHintKey. EODatabaseContext is the only class in the standard Enterprise Objects Framework that defines fetch specification hints.


-- EODatabaseContext doc --
Using a Custom Query

EODatabaseContext defines a hint for use with an EOFetchSpecification (EOControl) in the method objectsWithFetchSpecification. Named by the key CustomQueryExpressionHintKey, the hint's value is an SQL string for performing the fetch. The expression must query the same attributes in the same order that Enterprise Objects Framework would if it were generating the SELECT expression dynamically. If this key is supplied, other characteristics of the EOFetchSpecification such as isDeep, qualifier, and sortOrderings are ignored. In that sense, this key is more of a directive than a hint.

---------------------------

Haven't really used it. Tried it a little the other day for a couple of minutes but not enough to talk about its uses.

with regards,
--

Lachlan Deck


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: 
 >EQFetchSpecification "hints" (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Filemaker und WebObjects?
  • Next by Date: Re: deprecated API
  • Previous by thread: Re: EQFetchSpecification "hints"
  • Next by thread: Unable to update or make changes in the table
  • Index(es):
    • Date
    • Thread