module Sequel::Plugins::Sharding

The sharding plugin augments Sequel's default model sharding support in the following ways:

Usage:

# Add the sharding support to all model subclasses (called before loading subclasses)
Sequel::Model.plugin :sharding

# Add the sharding support to the Album class
Album.plugin :sharding