made with Laravel

Fast Paginate for Laravel

Offset/limit Pagination Implementation

Visit Site

Description

Offset/limit Pagination Implementation

"Fast Paginate offers a fast limit/offset pagination macro for Laravel. It can be used in place of the standard paginate methods.

This packages uses a SQL method similar to a "deferred join" to achieve this speedup. A deferred join is a technique that defers access to requested columns until after the offset and limit have been applied.

In our case we don't actually do a join, but rather a where in with a subquery. Using this technique we create a subquery that can be optimized with specific indexes for maximum speed and then use those results to fetch the full rows.

The benefits can vary based on your dataset, but this method allows the database to examine as little data as possible satisfy the user's intent."


Creator

Aaron Francis
@aarondfrancis
@aaronfrancis.com


Social Media Links

Laravel Legacy UI Legacy UI Presets with Auth Scaffolding for Laravel 8 & 9
icon-eye-dark Created with Sketch. 1.389
Idempotency for Laravel Idempotency for API Requests
icon-eye-dark Created with Sketch. 694
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Laravel Review Rateable Review & Rating System
icon-eye-dark Created with Sketch. 2.595
Blade Icons Use SVG Icons in your Blade Views
icon-eye-dark Created with Sketch. 2.939
DocxMustache for Laravel Docx Template Manipulation
icon-eye-dark Created with Sketch. 806