labs7in0/laravel-partitioning

This package is abandoned and no longer maintained. No replacement package was suggested.

A horizontal partitioning library for Laravel Eloquent.

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/labs7in0/laravel-partitioning

0.9.2 2019-04-29 03:03 UTC

This package is auto-updated.

Last update: 2022-02-01 13:16:34 UTC


README

[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