KiokuDB::Role::Upgrade::Data(3pm)

KiokuDB::Role::Upgrade::Data3pm

Classes that provide their own upgrade routine.

Usage

    with qw(KiokuDB::Role::Upgrade::Data);
    sub kiokudb_upgrade_data {
        my ( $class, %args ) = @_;
        # convert the data from the old version of the class to the new version
        # as necessary
        $args{entry}->derive(
            class_version => our $VERSION,
            ...
        );
    }

Version

version 0.57

Overview

This class allows you to take control the data conversion process completely (there is only one handler per class, not one handler per version with this approach).

See KiokuDB::Role::Upgrade::Handlers::Table for a more DWIM approach, and KiokuDB::TypeMap::Entry::MOP for more details.

Releases

6 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8–10
  3. 12–13

Author

Yuval Kogman <[email protected]>

From libkiokudb-perl 0.57-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.