|
NAMET2::Attribute - an Attribute of a T2::Class SYNOPSIS $class->attributes_insert
( T2::Attribute->new
( name => "myatt",
type => "int",
options => { sql => "TINYINT" }, ) );
DESCRIPTIONA T2::Attribute is an end-point in the T2 schema. It is typically mapped to a single column. The following types are available: See Tangram::Type for more information. $assoc->traverse(sub { })Traverses over every object in the attribute, setting $_[0] to the item.
|