Matthew Simon Cavalletto

NAME

DBIx::DBO2::ColumnSet - Array of DBIx::DBO2::Column objects

SYNOPSIS

  my $colset = DBIx::DBO2::ColumnSet->new( $column1, $column2 );
  
  print $colset->count;
  
  foreach my $column ( $colset->contents ) {
    print $column->name;
  }
  my $name_col = $column

DESCRIPTION

DBIx::DBO2::ColumnSet objects contain an ordered set of DBIx::DBO2::Column objects

PUBLIC INTERFACE

Constructor

Multiple subclasses based on type.

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.

column_primary () : $primary_key

KLUDGE - set to find 'id'.