Re: Object Query Language optimization
| From: | Mark Kelly | Date: | Sat, 21 May 2011 15:54:52 +0000 |
| Subject: | Re: Object Query Language optimization | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313042@lists.php.net to get a copy of this message | ||
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