Ron The last parameter needs to be an NSArray not a s String[]
Sent from my iPad On Apr 17, 2012, at 3:20 AM, Ron X <[email protected]> wrote: > Error! > The method rawRowsForSQL(EOEditingContext, String, String, NSArray) in the > type EOUtilities is not applicable for the arguments (EOEditingContext, > String, String, String[]) > > 13 апреля 2012 г. 21:47 пользователь Larry Mills-Gahl <[email protected]> > написал: > > > On Apr 13, 2012, at 7:07 AM, Ron X wrote: > >> thank you very much! very good! >> this method considered deprecated - is there non-deprecated method? > > EOUtilities.rawRowsForSQL(EOEditingContext ec, String modelName, String > sqlString, NSArray keys) > > > rawRowsForSQL > > public static NSArray rawRowsForSQL(EOEditingContext ec, > String modelName, > String sqlString, > NSArray keys) > Evaluates the specified SQL and returns the resulting raw rows. > > > Parameters: > ec - an EOEditingContext > modelName - name of the EOModel to use > sqlString - the query string in SQL syntax > keys - array of Strings corresponding to the SELECT list; these will be used > as the keys in the result dictionaries; use null for default naming > Returns: > matching raw rows (an NSArray of NSDictionaries) > Since: > 5.2.2 > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
