Didn't the OP want the relatives joined in a specific order (or, at least, be able to retrieve them in a specific order)?

"in the order prescribed."

To do that, joins alone won't satisfy his query (Core Data structures are not guaranteed to return in any order). As I read them, his options were "joins only" or "some other structure."

In the OP's case, he'd need to have (as one possible solution) both a relationship entity and an order attribute of some kind in that entity to answer his request (the order attribute would also be as per dox). This would be the "other structure," at least from my perspective.

Peace, Love, and Light,

/s/ Jon C. Munson II

Quoting Jerry Krinock <je...@ieee.org>:

If there's only two relatives, as in your example, use two to-one
relationships.

If there's an indeterminate number, you can add an intermediate
"joiner" entity, as explained here:

http://www.cocoabuilder.com/archive/message/cocoa/2007/9/16/189293

The above joins between two different entities, so you'll modify it to
join the same entity.  All data modelling situations are a little
different.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jmunson%40his.com

This email sent to jmun...@his.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to