• 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: Fetching entities where optional attribute is set
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetching entities where optional attribute is set


  • Subject: Re: Fetching entities where optional attribute is set
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 18 Nov 2005 11:39:46 -0800


On Nov 18, 2005, at 11:16 AM, Tom Harrington wrote:

I have an entity which has an optional string attribute called "name".
 How can I configure a fetch request for all instances of this entity
that actually have a value set for this attribute?
[...]
However if name is not set, it's not going to be an empty string, so
this also doesn't seem to be what I want.  How can I set up this
fetch?

Type name != nil as an Expression.

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Fetching entities where optional attribute is set (From: Tom Harrington <email@hidden>)

  • Prev by Date: Re: Fonts getting scaled when going XHTML -> NSAttribString
  • Next by Date: Re: NSTextView, NSImage and Anti-Aliasing
  • Previous by thread: Fetching entities where optional attribute is set
  • Next by thread: "Proper" way to deal with "new" and "deprecated" methods when targeting more then one version
  • Index(es):
    • Date
    • Thread