Query: sql::statement::term
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SQL::Statement::Term(3) User Contributed Perl Documentation SQL::Statement::Term(3)NAMESQL::Statement::Term - base class for all termsSYNOPSIS# create a term with an SQL::Statement object as owner my $term = SQL::Statement::Term->new( $owner ); # access the value of that term $term->value( $eval );DESCRIPTIONSQL::Statement::Term is an abstract base class providing the interface for all terms.INHERITANCESQL::Statement::TermMETHODSnew Instantiates new term and stores a weak reference to the owner. value Abstract method which will return the value of the term. Must be overridden by derived classes. DESTROY Destroys the term and undefines the weak reference to the owner.NAMESQL::Statement::ConstantTerm - term for constant valuesSYNOPSIS# create a term with an SQL::Statement object as owner my $term = SQL::Statement::ConstantTerm->new( $owner, 'foo' ); # access the value of that term - returns 'foo' $term->value( $eval );DESCRIPTIONSQL::Statement::ConstantTerm implements a term which will always return the same constant value.INHERITANCESQL::Statement::ConstantTerm ISA SQL::Statement::TermMETHODSnew Instantiates new term and stores the constant to deliver and a weak reference to the owner. value Returns the specified constant.NAMESQL::Statement::ColumnValue - term for column valuesSYNOPSIS# 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 );DESCRIPTIONSQL::Statement::ColumnValue implements a term which will return the specified column of the active row.INHERITANCESQL::Statement::ColumnValue ISA SQL::Statement::TermMETHODSnew Instantiates new term and stores the column name to deliver and a weak reference to the owner. value Returns the specified column value.AUTHOR AND COPYRIGHTCopyright (c) 2009,2010 by Jens Rehsack: rehsackATcpan.org All rights reserved. You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. perl v5.12.1 2010-05-06 SQL::Statement::Term(3)