Re: NSDictionary keys to be all lowercase ALL THE TIME...??
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