The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  my $colset = DBIx::SQLEngine::Schema::ColumnSet->new( $column1, $column2 );
  
  print $colset->count;
  
  foreach my $column ( $colset->columns ) {
    print $column->name;
  }
  
  $column = $colset->column_named( $name );

DESCRIPTION

DBIx::SQLEngine::Schema::ColumnSet objects contain an array of DBIx::SQLEngine::Schema::Column objects

REFERENCE

Creation

new()
  DBIx::SQLEngine::Schema::ColumnSet->new( @columns ) : $colset

Basic array constructor.

Access to Columns

columns()
  $colset->columns () : @columns

Returns a list of column objects.

Column Names

column_names()
  $colset->column_names () : @column_names

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

column_named()
  $colset->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.