logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SQL::Statement::Term - base class for all terms

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 );

See Also