@Kljofa
Hello,
What do you mean when you say multiple joins? Do you mean one parent entity with many child entities, or a parent entity with a child entity, which in turn is the parent of another and so on. For the first type of relationship the documentation gives good examples. First you need to set up the relationships so that gasorm knows how tables relate to each other:
http://gasorm-doc.taufanaditya.com/relationship.html
Once you have done that, you can use the with() function. Here is an example from:
http://gasorm-doc.taufanaditya.com/quickstart.html
There is an entity called user, and the relationships between the (has many)kid, (has one)wife and (has many)job entities have been created so that the command below creates the joins and retrieves the corresponding records for all users.
$users = Model\User::with('wife', 'kid', 'job')->all();
If there is a chain of parent/child entities, the above command could be used to get the initial parent/child relationship, then the command below can be used to fetch only the child entity details of further entities.
Model\Parent_entity_name::find(1)->child_entity_name();
Depending on the source of your download you may have to watch your capitalization as the link below discusses, as I vaguelly remember I had the problem with capitalization too first time round:
http://ellislab.com/forums/viewthread/213348/P120/#1010854
