How to fetch Null objects
How to fetch Null objects
- Subject: How to fetch Null objects
- From: "Ted Archibald" <email@hidden>
- Date: Tue, 5 Jun 2007 15:13:13 -0600
Is there a more elegant way of trying to fetch null objects?
Currently I have an object 'Posting' with a fetch spec 'fetchNullPostingForMonth' with the qualifier '(objectIDPostingsForMonth = nil)'
Then in my code I have:
NSArray results = EOUtilities.objectsWithFetchSpecificationAndBindings( ec, "Posting", "fetchNullPostingForMonth", null);
To me this seems crude, but it does work. Is there a better way though?
_______________________________________________
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