GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SQL::Statement::Term(3) User Contributed Perl Documentation SQL::Statement::Term(3)

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

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

SQL::Statement::Term is an abstract base class providing the interface for all terms.

  SQL::Statement::Term

Instantiates new term and stores a weak reference to the owner.

Abstract method which will return the value of the term. Must be overridden by derived classes.

Destroys the term and undefines the weak reference to the owner.

SQL::Statement::ConstantTerm - term for constant values

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

SQL::Statement::ConstantTerm implements a term which will always return the same constant value.

  SQL::Statement::ConstantTerm
  ISA SQL::Statement::Term

Instantiates new term and stores the constant to deliver and a weak reference to the owner.

Returns the specified constant.

SQL::Statement::ColumnValue - term for column values

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

SQL::Statement::ColumnValue implements a term which will return the specified column of the active row.

  SQL::Statement::ColumnValue
  ISA SQL::Statement::Term

Instantiates new term and stores the column name to deliver and a weak reference to the owner.

Returns the specified column value.

Copyright (c) 2009-2020 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.

2020-10-21 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.