Re: Null Value
Re: Null Value
- Subject: Re: Null Value
- From: Arturo Perez <email@hidden>
- Date: Wed, 21 Apr 2004 16:29:11 -0400
Nicolas BERNARD wrote:
Hello,
I use webobject whith the MySql Database. In Mysql to use a SQL Where
Clause with null value, the syntax is "where field1 is null" or "where
field1 is not null". How can do this with an EOKeyValueQualifier? is it
possible? another solution?
Thanks for help me
It's something like
new EOKeyValueQualifier("field1",
EOQualifier.QualifierOperatorEqual,
NSKeyValue.NULL)
EOF automagically converts "= nil" and "!= nil" into "IS NULL" and "IS
NOT NULL".
HTH,
-arturo
http://webobjects.meetup.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Null Value (From: Nicolas BERNARD <email@hidden>) |