Hi. On Saturday 21 May 2011 at 15:56 jean-baptiste verrey wrote: > I'm writing an Object Query Language [snip] > (queries don't get much more complicated than that, you have multiple > alias.fieldName in the select, then multiple joins) I often use SQL that is far, far more complex than this. Anyway, I can't help directly with the code, other than to suggest that you take a look at other projects that do the same thing and see how they do it. There's a starter list at: http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#PHP HTH, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php