• 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: using null in a fetchspec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using null in a fetchspec


  • Subject: Re: using null in a fetchspec
  • From: Cail Borrell <email@hidden>
  • Date: Fri, 20 Jun 2008 08:56:54 +0200

Hi Fred,

You could try using NSKeyValueCoding.NullValue instead of null.

-Cail

On 20/06/2008, at 00.56, Chuck Hill wrote:


On Jun 19, 2008, at 3:49 PM, Fred Wells wrote:

Hello all,
I can't seem to find any info on this and can't get this to work. Is there a way to have null be a qualifier in a fetchspec?
Basically, I want to have something like users = null or something. I need to check if an attribute doesn't have a value. For add'l info I am trying to do this on a to-many relationship.

In the model? In code? null usually works. What is happening?

And this will NOT work for a to-many. You will need to use one of the qualifiers from Houdah Frameworks or Project Wonder.


Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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

_______________________________________________ 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: 
 >using null in a fetchspec (From: Fred Wells <email@hidden>)
 >Re: using null in a fetchspec (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WebObjects Nightly Builds and WOLips addition
  • Next by Date: DB Migration Paradigm?
  • Previous by thread: Re: using null in a fetchspec
  • Next by thread: Re: using null in a fetchspec
  • Index(es):
    • Date
    • Thread