• 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: NSDictionary keys to be all lowercase ALL THE TIME...??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary keys to be all lowercase ALL THE TIME...??


  • Subject: Re: NSDictionary keys to be all lowercase ALL THE TIME...??
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 5 Apr 2005 12:42:55 -0700

On Apr 5, 2005, at 9:25 am, Clint Fleetwood wrote:

I am using the latest MySQL 5.0.2 and having to use rawRowsForSQL almost exclusively due to the large amount of datasets that i'm dealing with and would like for all database column names to show up in ALL lowercase so when I issue:

EOUtilities.rawRowsForSQL(myEC, MyEOModel,"select count(*) as totalrows from pattspec");

- That I get back an NSArray of NSDictionaries that contain ALL lowercase key names....

Even from the above statement I get an NSDictionary containing a key "TOTALROWS" and not "totalrows" even though I specify it as all lowercase in the statement. Is there a setting I can put in the Application constructor that will command that EOF to force all lowercase column(key) names ????

I don't think so. SQL 92 specifies that column names are case INsensitive, and I've always seen them in upper case...


sacha


-- Sacha Michel Mallais - 400 lb. chimp Global Village Consulting Inc.: http://www.global-village.net/ Choke on that, causality! -- the Professor, "Futurama"

_______________________________________________
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: 
 >NSDictionary keys to be all lowercase ALL THE TIME...?? (From: Clint Fleetwood <email@hidden>)

  • Prev by Date: Re: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Next by Date: Re: NSDictionary keys to be all lowercase ALL THE TIME...??
  • Previous by thread: NSDictionary keys to be all lowercase ALL THE TIME...??
  • Next by thread: Re: NSDictionary keys to be all lowercase ALL THE TIME...??
  • Index(es):
    • Date
    • Thread