
How do you write a Fetched Property for the Place Entity that will present an Array of Users?
How do you write a Fetched Property for the Place Entity that will present
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
For a fetched property
usersof Place that retrieves all users whose check-in is related to the given place, setNow you can get the array of users for a place:
This fetched property corresponds to the following fetch request:
If you declare the fetched property
usersas a dynamic property:then you can retrieve the value using property syntax:
But note that you can get the same result (as a set) directly, without using a fetched property: