Looking to hire Laravel developers? Try LaraJobs

laravel-partitioning maintained by labs7in0

Description
A horizontal partitioning library for Laravel Eloquent.
Author
Last update
2019/04/29 07:17 (dev-master)
License
Links
Downloads
21

Comments
comments powered by Disqus

Laravel Partitioning

[Deprecated] Use DB-level partitioning instead.

A horizontal partitioning library for Laravel Eloquent.

Installation

$ composer require labs7in0/laravel-partitioning

Usage

Create Model

class Log extends PartitioningModel
{
    protected $baseTable = 'logs';
}

Run Query

$logs = Log::combineByBounds(Carbon::today()->subDays(30), Carbon::today())->get();

License

The MIT License

More info see LICENSE