Re: Fetch data with NULL-Value
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