Re: Deep hierarchical search
Re: Deep hierarchical search
- Subject: Re: Deep hierarchical search
- From: Alexander Spohr <email@hidden>
- Date: Fri, 21 Sep 2007 09:38:23 +0200
Am 21.09.2007 um 03:40 schrieb Klaus Berkling:
There is a search I need to implement that returns matching groups,
classes and students within a givem parent group.
Just go and fetch those one of after the other:
aGroupQualifier: parent = aParent
aClassQualifier: group.parent = aParent
aStudentQualifier: class.group.parent = aParent
Keep what you need in an array. The other fetches are just to
populate your relationships. Don’t fetch what you won’t touch.
After the three fetches you can run through the relationships as much
as you like, all objects are already there.
atze
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden