Re: Fetching entities where optional attribute is set
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