• 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: Fetch data with NULL-Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch data with NULL-Value


  • Subject: Re: Fetch data with NULL-Value
  • From: Pierre Bernard <email@hidden>
  • Date: Sun, 2 Sep 2007 23:23:06 +0200

new EOAndQualifier(new NSArray(new EOQualifier[] {
new EOKeyValueQualifier("fielda", EOQualifier.QualifierOperatorEqual, NSKeyValueCoding.NullValue)
new EOKeyValueQualifier("fieldb", EOQualifier.QualifierOperatorEqual, NSKeyValueCoding.NullValue) }));


On Sep 2, 2007, at 10:52 PM, Ute Hoffmann wrote:

Hallo,
I need a qualifier, which fetches data from the database where fielda = empty and fieldb = empty.


I suppose this is very simple but I don't see it. What do I write into the qualifier?

null won't work, NULL won't work, Bindings Array with new String() won't work. Database is mysql, in case it does make a difference.

I think I did this before and no, in memory qualifying won't do, too much data without this. I do need to fetch the data with this kind of qualifier from the database directly.

Regards

Ute
_______________________________________________
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: 
 >Fetch data with NULL-Value (From: Ute Hoffmann <email@hidden>)

  • Prev by Date: Fetch data with NULL-Value
  • Next by Date: Re:[OT] WO on Linux - Hostproblem
  • Previous by thread: Fetch data with NULL-Value
  • Next by thread: Re:[OT] WO on Linux - Hostproblem
  • Index(es):
    • Date
    • Thread