SQL::Statement::Term - base class for all terms
Contents
Description
SQL::Statement::ColumnValue implements a term which will return the specified column of the active row.
Inheritance
SQL::Statement::ColumnValue
ISA SQL::Statement::Term
Methods
new
Instantiates new term and stores the column name to deliver and a weak reference to the owner.
value
Returns the specified column value.
Name
SQL::Statement::ColumnValue - term for column values
Synopsis
# create a term with an SQL::Statement object as owner
my $term = SQL::Statement::ColumnValue->new( $owner, 'id' );
# access the value of that term - returns the value of the column 'id'
# of the currently active row in $eval
$term->value( $eval );
