---
name: "KiokuDB::Class"
section: "3pm"
platform: "linux"
package: "libkiokudb-perl"
version: "0.57-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/KiokuDB::Class"
---

# KiokuDB::Class(3pm)

KiokuDB specific metaclass

## NAME

KiokuDB::Class - KiokuDB specific metaclass

## VERSION

version 0.57

## 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.

## AUTHOR

Yuval Kogman \<nothingmuch@woobling.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
