Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
T2::Attribute(3)      User Contributed Perl Documentation     T2::Attribute(3)

NAME
       T2::Attribute - an Attribute of a T2::Class

SYNOPSIS
	 $class->attributes_insert
	     ( T2::Attribute->new
		  ( name => "myatt",
		    type => "int",
		    options => { sql =>	"TINYINT" }, ) );

DESCRIPTION
       A T2::Attribute is an end-point in the T2 schema.  It is	typically
       mapped to a single column.

       The following types are available:

       string
       int
       real
       date
       rawdatetime
       rawdate
       rawtime
       flat_array
       dmdatetime
       flat_hash
       perl_dump

       See Tangram::Type for more information.

   $assoc->traverse(sub	{ })
       Traverses over every object in the attribute, setting $_[0] to the
       item.

perl v5.32.0			  2005-11-06		      T2::Attribute(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=T2::Attribute&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help