• 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: Null Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Null Value
      • From: Denis Stanton <email@hidden>
References: 
 >Null Value (From: Nicolas BERNARD <email@hidden>)

  • Prev by Date: Editing Context Redux...
  • Next by Date: Re: OpenSource replace EOModler
  • Previous by thread: Null Value
  • Next by thread: Re: Null Value
  • Index(es):
    • Date
    • Thread