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

Adds the JsonPaginate macro to the base Query Builder #58

Merged
merged 1 commit into from
Nov 27, 2021

Conversation

troy-whitespark
Copy link

In some places in my application, I want to use the base query builder via DB::table, but still have it paginate.

Since the API is the same, this simply applies the macro to both versions of the Builder class.

@freekmurze freekmurze merged commit 1ab8901 into spatie:main Nov 27, 2021
@freekmurze
Copy link
Member

Thanks!

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