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

  • Home
  • SEARCH
  • 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 8042025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:25:46+00:00 2026-06-05T04:25:46+00:00

I’m not new to this technology, but one thing is bugging me out. It’s

  • 0

I’m not new to this technology, but one thing is bugging me out.
It’s about Core Data.
Let’s assume I have db model like this:

Person <-> House <-> House details

<-> means two-way relationship and
Person has many houses, each house has it’s details (whatever, it’s for example).

And now in Core Data when I’m reaching fro specific Person I get this Person along with all relationships (in objective approach references) down to “House details”.

Now imagine that db model is more complex and XCode forces two-way relationships (only by warnings, but still).

My question is assuming if I have all relationships according to XCode right (two-way),
is there any way to fetch query (from example above) in which I want to get specific Person but with out the references to house and house details.

The reason why I’m asking this question is because as far as I know it is impossible, or not? The other reason, main reason, is that when we have complex db model with two-way relationships it takes some time to grab all this data (what we want but with all the references) when we want to just receive only Person data without any other relationship(references) to db model what so ever. Basically the idea is to trim all relationships from result when we are asking only for Person data (according to example).

NOTE: This is my first post on stack overflow, so don’t eat me alive :).
But if it’s not possible what I’m asking for, to be honest it’s a big pain, not to be able to manage data as you want form the developer point of view.

If I’m not clear on this post, please let me know, I’ll explain this.

  • 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-06-05T04:25:48+00:00Added an answer on June 5, 2026 at 4:25 am

    Core data does lazy loading of relationships by default, so when you fetching your person object, your relationships will only be fetched when you start referencing them.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I want to construct a data frame in an Rcpp function, but when I
I have some data like this: 1 2 3 4 5 9 2 6
For some reason, after submitting a string like this Jack’s Spindle from a text
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported

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.