יובל קוג'מן (Yuval Kogman) > KiokuDB-Cmd > KiokuDB::Cmd::WithDSN::Read

Download:
KiokuDB-Cmd-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

KiokuDB::Cmd::WithDSN::Read - Readonly access to a DSN

SYNOPSIS ^

    package KiokuDB::Cmd::Command::Blort;
    use Moose;

    extends qw(KiokuDB::Cmd::Base);

    with qw(KiokuDB::Cmd::WithDSN::Read);

    augment run => sub {
        my $self = shift;

        $self->backend;
    };

DESCRIPTION ^

This role provides readonly access to a database.

ATTRIBUTES ^

dsn

Command line attr.

backend

Contains the composed connection.

syntax highlighting: