Re: Hiding NSKeyValueCoding$Null
Re: Hiding NSKeyValueCoding$Null
- Subject: Re: Hiding NSKeyValueCoding$Null
- From: Arturo PĂ©rez <email@hidden>
- Date: Tue, 9 Sep 2003 16:59:12 -0400
On Tuesday, September 9, 2003, at 01:18 PM, John Boynton wrote:
Hi Merul and list,
Hi,
I'm fetching a large data set using a raw row fetch since I don't
need to initially instantiate any EOs for the returned objects.
When I bind any key from a dictionary in the returned array to a
WOString, I'm getting an unsightly value for those fields that
contain null values: >> <com.webobjects.foundation.NSKeyValueCoding$Null>
If I change the fetch to return EOs then null fields are correctly
displayed, so is there a simple way to do the same for WOStrings
bound to NSDictionary keys?
Thanks,
Merul
Since you're using a raw fetch couldn't you do something like
SELECT NVL(dog, 'pony') from table?
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit 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.