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 7887669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:38:25+00:00 2026-06-03T05:38:25+00:00

I have two Data Base which is shown in the attacted picture I have

  • 0

I have two Data Base which is shown in the attacted picture enter image description here

I have the NewRelease Object and i want to get it’s parent Object which is Contract. Means i want to know that this NewRelease Object belong to which Contract. I am unable to fetch the data can any one guide be what should be a rite predicate for this situation. I am successfully fetching the data for it’s inverse case in NewRelease and Signature Table using this predicate Line

NSArray *filterResults = [mutableFetchResults filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"hasNewReleases = %@",aNewRelease]]; 

where aNewRelease is my NewRelease Object now how can i fetch data from Contracts Table using NewRelease Object.

There is “One to Many” Relation between NewRelease and Contracts such that one single Contract can belong to multiple NewReleases. Npw as i have mention above i have newRelease Object and i want to know that this newRelease belong to which Contract.

  • 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-03T05:38:27+00:00Added an answer on June 3, 2026 at 5:38 am

    Add relationship between NewRelease and Contract table , then whenever you will fetch data from NewRelease or Contract entity ,you can access the data with its associated relationship.
    Check the following example : http://www.raywenderlich.com/934/core-data-on-ios-5-tutorial-getting-started

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

Sidebar

Related Questions

I have a varchar field in my database which i use for two significantly
I have two Database, DB1 and DB2. How can I transfer data of DB1
I have two database one with relationship(no data) and another with out Relationship (with
I have two .php files which show all contacts in a database, then allows
I have two projects in QtCreator, which both include two .pri files in another
I want to have a database table that keeps data with revision history (like
I have two simple POCO classes; I'm trying to get the MyY property below
I have a WebApp with two dependencies as shown below. I would like to
I have two QDialogs stacked on top of each other, with some data is
I have the following two models: class PhotoAlbum < ActiveRecord::Base belongs_to :project has_many :photos,

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.