• 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 13:07:48 -0700

On Apr 5, 2005, at 1:00 pm, Robert Walker wrote:

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

First off you will notice that you are using a deprecated method. You should use the new version of EOUtilities.rawRowsForSQL(). The new method takes a fourth argument to do exactly what you want. You will provide an NSArray of the keys to use in the resulting array of dictionaries. Just make sure the number of elements in your NSArray match the number of elements returned in the dictionaries and the order in the arrays match. The intent of this new method is to use the internal names that you specified in your model so that you have more consistency on the Java side.


Good one, Robert.  Can you tell how often I use raw rows  ;-)


sacha


-- Sacha Michel Mallais - 800 lb. gorilla Global Village Consulting Inc.: http://www.global-village.net/ Bottom posting is your friend: http://www.river.com/users/share/etiquette/

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

  • Prev by Date: Re: NSDictionary keys to be all lowercase ALL THE TIME...??
  • Next by Date: com.webobjects.eoaccess does not exist, wrong target?
  • Previous by thread: Re: NSDictionary keys to be all lowercase ALL THE TIME...??
  • Next by thread: addObjectToBothSidesOfRelationshipWithKey Fails Silently?
  • Index(es):
    • Date
    • Thread