• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Core Data - Newbie] Predicate Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Core Data - Newbie] Predicate Help


  • Subject: [Core Data - Newbie] Predicate Help
  • From: Charles Haron <email@hidden>
  • Date: Sat, 30 Jul 2005 19:52:56 -0600

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: [Core Data - Newbie] Predicate Help
      • From: Charilaos Skiadas <email@hidden>
  • Prev by Date: Re: NSTextField
  • Next by Date: Pushing the Limits of Cocoa
  • Previous by thread: NSArrayController and NSDictionary
  • Next by thread: Re: [Core Data - Newbie] Predicate Help
  • Index(es):
    • Date
    • Thread