Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Core Data - Newbie] Predicate Help



Hello All,

I need to create a predicate that does the equivalent of the following:

SELECT SUM(itemPrice) FROM InvItems
WHERE inStore = FALSE;

****

InvItems is the entity
itemPrice & inStore are attributes.

My underlying store is SQLite.

I've read through the "Predicate Programming Guide", and it seems to imply that it can be done.

Thanks,
Charles


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.