doctrine / phpcr-odm

Doctrine PHPCR ODM
http://www.doctrine-project.org/projects/phpcr-odm.html
MIT License
183 stars 97 forks source link

Enabling SetMaxResults on subquery #506

Closed Jean85 closed 10 years ago

Jean85 commented 10 years ago

I would like to "port" an improvement request from the old JYRA: http://www.doctrine-project.org/jira/browse/DBAL-909

SetMaxResults doesn't work on subqueries, it's not implemented and it's not sure it's a supported feature on all platforms. MySQL supports that, BTW.

Tell me if you need more details, I've got the same problem on my project.

dbu commented 10 years ago

are you sure you wanted to open this issue on phpcr-odm? phpcr-odm is for phpcr what the orm is for dbal. i am not sure if jcr sql2 even has the subquery feature. https://docs.jboss.org/author/display/MODE/JCR-SQL2?_sscc=t#JCR-SQL2-Subquery suggests that it does not

Jean85 commented 10 years ago

You're right.. Sorry fot the mistake Is DBAL the right subproject for this request then?

lsmith77 commented 10 years ago

yes

dbu commented 10 years ago

no harm done ;-)