Arthur Axel "fREW" Schmidt > SQL-Translator > SQL::Translator::Schema::Object

Download:
SQL-Translator-0.11018.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  58
Open  21
View/Report Bugs
Module Version: 1.59   Source   Latest Release: SQL-Translator-0.11020_01

NAME ^

SQL::Translator::Schema::Object - Base class for SQL::Translator schema objects

SYNOPSIS ^

    package SQL::Translator::Schema::Foo;
    use Moo;
    extends 'SQL::Translator::Schema::Object';

DESCRIPTION ^

Base class for Schema objects. A Moo class consuming the following roles.

SQL::Translator::Role::Error

Provides $obj->error, similar to Class::Base.

SQL::Translator::Role::BuildArgs

Removes undefined constructor arguments, for backwards compatibility.

SQL::Translator::Schema::Role::Extra

Provides an extra attribute storing a hashref of arbitrary data.

SQL::Translator::Schema::Role::Compare

Provides an $obj->equals($other) method for testing object equality.

syntax highlighting: