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

[9.x] Add simplePaginateRaw query #534

Merged
merged 1 commit into from
Sep 29, 2021
Merged

[9.x] Add simplePaginateRaw query #534

merged 1 commit into from
Sep 29, 2021

Conversation

mmachatschek
Copy link
Contributor

@mmachatschek mmachatschek commented Sep 29, 2021

The method complements the existing simplePaginate() method with the option to receive the "raw" data of the search engine.

There already exists a paginate() and paginateRaw() method.

@taylorotwell
Copy link
Member

paginateRaw does not exist in Laravel.

@mmachatschek
Copy link
Contributor Author

@taylorotwell there already exists a paginateRaw() method on the Builder::class of scout

public function paginateRaw($perPage = null, $pageName = 'page', $page = null)
which was implemented in this PR #220

@driesvints
Copy link
Member

@taylorotwell sorry, gonna reopen this so you can review again ^

@driesvints driesvints reopened this Sep 29, 2021
@taylorotwell taylorotwell merged commit e8676f9 into laravel:9.x Sep 29, 2021
@mmachatschek mmachatschek deleted the simple_paginate_raw branch September 30, 2021 04:24
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.

3 participants