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


Social Media Links

Laravel Password History Validation Prevent users from reusing recently used passwords
icon-eye-dark Created with Sketch. 2.083
Laravel DOMPDF DOMPDF Wrapper
icon-eye-dark Created with Sketch. 20.481
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
image-rocket Created with Sketch.
Launch your own rocket and submit your project!
Laravel EloquentBuilder Eloquent Query Builder
icon-eye-dark Created with Sketch. 2.153
Laravel Notification Channels Notification Drivers for Laravel
icon-eye-dark Created with Sketch. 3.827