NAME

KiokuDB::Backend::Role::TXN - Backend level transaction support.

SYNOPSIS

package MyBackend;
use Moose;

with qw(
    KiokuDB::Backend
    KiokuDB::Backend::Role::TXN
);

sub txn_begin { ... }
sub txn_commit { ... }
sub txn_rollback { ... }

DESCRIPTION

This API is inspired by standard database transactions much like you get with DBI.

This is the low level interface required by "txn_do" in KiokuDB.