NAME

DBIx::SQLEngine::Schema::ColumnSet - Array of DBIx::SQLEngine::Schema::Column objects

SYNOPSIS

my $colset = DBIx::SQLEngine::Schema::ColumnSet->new( $column1, $column2 );

print $colset->count;

foreach my $column ( $colset->contents ) {
  print $column->name;
}
my $name_col = $column

DESCRIPTION

DBIx::SQLEngine::Schema::ColumnSet objects contain an ordered set of DBIx::SQLEngine::Schema::Column objects

REFERENCE

Constructor

Basic array constructor.

new ( @columns ) : $columnset

Column Access

columns () : @columns

Returns a list of column objects.

column_names () : @column_names

Returns the result of calling name() on each column.

column_named ( $name ) : $column

Finds the column with that name, or dies trying.

SEE ALSO

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.