Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6866297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:09:57+00:00 2026-05-27T03:09:57+00:00

Is there a way to simulate the Sub Select Methods without pulling out the

  • 0

Is there a way to simulate the Sub Select Methods without pulling out the whole set that you want to limit against.

In this question
Core Data: Query objectIDs in a predicate?

they gave a demonstration of using the not in limit. But it shows using a list of objects that you would want to limit against.

NSPredicate *predicate = [NSPredicate predicateWithFormat:@"NOT (self IN %@)", arrayOfExcludedObjects];

Is this the only way to do this or is there a way to limit against a sub query so I dont have to get the results of a query I want to limit against.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:09:57+00:00Added an answer on May 27, 2026 at 3:09 am

    As it turns out there does not appear to be a way to do a join in CoreData.

    I could potentially open the SQLite database up manually and join the data to get the results I was looking for, But I would lose the power of core data if I went that route.

    It seems the best way to accomplish this is to run the query I want and get back the objects that I want limited out, and put those into the arrayOfExcludedObjects. Alternatively I can add the objects I want to keep to an array and add a predicate with “(self IN %@)” and it would accomplish the same thing.

    The extra functionality I gain with core data occasionally gives a loss of other functionality.

    Perhaps someday apple will add those types of predicates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to simulate Python's __getattr__ method in Javascript? I want to
Is there a way to simulate the enter key in VBScript? Ex.: set shl
Is there any way to simulate a try-finally or try-except in a language that
Is there an easy way to simulate Invalid Viewstate?
Is there a way by which we can simulate thread level constants in C++?
Is there a way to test an application where you simulate a hundred different
Is there any way to simulate the use of the proximity sensor using the
Is there a way to simulate not having flash player installed, so I can
Is there a way to simulate opening/closing the 'hardware' keyboard in the emulator? I
Possible Duplicates: ‘Friends’ equivalent for Java? Is there a way to simulate the C++

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.