• 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
How to perform a Coredata subquery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to perform a Coredata subquery


  • Subject: How to perform a Coredata subquery
  • From: Julio Bianco <email@hidden>
  • Date: Wed, 12 Jul 2006 19:35:15 -0300

Hi all,
I'm trying to perform a query with coredata that allow me to obtain an object depending of some related entities. My case is this, I've a database with employes, company departments, and some other information, and any department is related to a bunch of employes. Now I'm trying to obtain the department how has
first_name = John
last_name = Smith


and

first_name = Paul
last_name = Smith

as employes. But I realize that Coredata just allow me to find if any of this department employee has as first name John and as last name Smith, then I can recover as result a department who has as employee to John Smith and Paul McCartney.
Can anybody tell me how to perform that query in the database? There is any way to do that without processing it after gather this info?


Thanks
Julio
_______________________________________________
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: How to perform a Coredata subquery
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: How to know when user clicks on field editor?
  • Next by Date: Re: How to perform a Coredata subquery
  • Previous by thread: Re: How to know when user clicks on field editor?
  • Next by thread: Re: How to perform a Coredata subquery
  • Index(es):
    • Date
    • Thread