NAME

KiokuDB::Class - KiokuDB specific metaclass

SYNOPSIS

    package Foo;
    use KiokuDB::Class; # instead of Moose

    has bar => (
        traits => [qw(KiokuDB::Lazy)],
        ...
    );

DESCRIPTION

This Moose wrapper provides some metaclass extensions in order to more tightly integrate your class with KiokuDB.

Currently only KiokuDB::Meta::Attribute::Lazy is set up (by extending Moose::Meta::Instance with a custom role to support it), but in the future indexing, identity, and various optimizations will be supported by this.