On Jul 12, 2009, at 12:05, Fritz Anderson wrote:

I have an entity, "Sale," that has a transient attribute "latestDate." It is marked optional/transient/indexed in the MOM; I've also tried it without setting optional. I set latestDate in awakeFromFetch and awakeFromInsert. I use [NSDate dateWithTimeIntervalSinceReferenceDate: 0] as a flag value.

...

The execute... method raises
'NSInvalidArgumentException', reason: 'keypath latestDate not found in entity <NSSQLEntity Sale id=2>'

The documentation:

        
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdFetching.html

says: "Note that you cannot fetch using a predicate based on transient properties".

I think that pretty much covers it. :)


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to