1SQL::Translator::SchemaU:s:eOrbjCeocntt(r3i)buted Perl DSoQcLu:m:eTnrtaantsiloantor::Schema::Object(3)
2
3
4
6 SQL::Translator::Schema::Object - Base class for SQL::Translator schema
7 objects
8
10 package SQL::Translator::Schema::Foo;
11 use Moo;
12 extends 'SQL::Translator::Schema::Object';
13
15 Base class for Schema objects. A Moo class consuming the following
16 roles.
17
18 SQL::Translator::Role::Error
19 Provides "$obj->error", similar to Class::Base.
20
21 SQL::Translator::Role::BuildArgs
22 Removes undefined constructor arguments, for backwards
23 compatibility.
24
25 SQL::Translator::Schema::Role::Extra
26 Provides an "extra" attribute storing a hashref of arbitrary data.
27
28 SQL::Translator::Schema::Role::Compare
29 Provides an "$obj->equals($other)" method for testing object
30 equality.
31
32
33
34perl v5.34.1 2022-05-10SQL::Translator::Schema::Object(3)