Skip to content
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

DBAL QueryBuilder add LIMIT OFFSET for paginating #184

Open
1 of 3 tasks
fprochazka opened this issue Jun 11, 2015 · 0 comments
Open
1 of 3 tasks

DBAL QueryBuilder add LIMIT OFFSET for paginating #184

fprochazka opened this issue Jun 11, 2015 · 0 comments
Assignees
Labels

Comments

@fprochazka
Copy link
Member

$qb = $qb->setMaxResults(10)->setFirstResult(20);
$sql = $qb->getSql();

=>

SELECT .... FROM ... LIMIT 10 OFFSET 20
  • SELECT
  • UPDATE
  • DELETE

Create issue in Doctrine\DBAL?

@fprochazka fprochazka self-assigned this Jun 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant