10000 add rsm result by docteurklein · Pull Request #11 · beberlei/porpaginas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add rsm result #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

docteurklein
Copy link
Contributor

Allows the pagination of native queries, by passing a closure to generate the count query.

Requires to pass a DBAL\QueryBuilder instance.

@beberlei
Copy link
Owner
beberlei commented Dec 6, 2015

@docteurklein I think this is a bit too complicated to be really useful as a generic implementation or?

@docteurklein
Copy link
Contributor Author

I agree it it qute complicated, however it is a generic implementation, that will work with complex use cases where RSM is mandatory.

Currently I had to use RSM because the DQL didn't allow me to ORDER BY stuff IS NULL DESC.
Maybe I could add a sql walker to handle my case, but still, this adapter has its place IMHO.

PS: sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0