1 package SQL::Translator::Schema::Object;
5 SQL::Translator::Schema::Object - Base class for SQL::Translator schema objects
9 package SQL::Translator::Schema::Foo;
11 extends 'SQL::Translator::Schema::Object';
15 Base class for Schema objects. A Moo class consuming the following
20 =item L<SQL::Translator::Role::Error>
22 Provides C<< $obj->error >>, similar to L<Class::Base>.
24 =item L<SQL::Translator::Role::BuildArgs>
26 Removes undefined constructor arguments, for backwards compatibility.
28 =item L<SQL::Translator::Schema::Role::Extra>
30 Provides an C<extra> attribute storing a hashref of arbitrary data.
32 =item L<SQL::Translator::Schema::Role::Compare>
34 Provides an C<< $obj->equals($other) >> method for testing object
44 our $VERSION = '1.59';
47 SQL::Translator::Role::Error
48 SQL::Translator::Role::BuildArgs
49 SQL::Translator::Schema::Role::Extra
50 SQL::Translator::Schema::Role::Compare