debian man page for sql::statement::termfactory

Query: sql::statement::termfactory

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SQL::Statement::TermFactory(3pm)			User Contributed Perl Documentation			  SQL::Statement::TermFactory(3pm)

NAME
SQL::Statement::TermFactory - Factory for SQL::Statement::Term instances
SYNOPSIS
my $termFactory = SQL::Statement::TermFactory->new($stmt); my $whereTerms = $termFactory->buildCondition( $stmt->{where_clause} ); my $col = $termFactory->buildCondition( $stmt->{col_obj}->{$name}->{content} );
DESCRIPTION
This package implements a factory to create type and operation based terms. Those terms are used to access data from the table(s) - either when evaluating the where clause or returning column data. The concept of a factory can be studied in Design Patterns by the Gang of Four. The concept of using polymorphism instead of conditions is suggested by Martin Fowler in his book Refactoring.
METHODS
buildCondition Builds a condition object from a given (part of a) where clause. This method calls itself recursively for predicates.
AUTHOR AND COPYRIGHT
Copyright (c) 2001,2005 by Jeff Zucker: jzuckerATcpan.org Copyright (c) 2008-2010 by Jens Rehsack: rehsackATcpan.org Portions Copyright (C) 1998 by Jochen Wiedmann: jwiedATcpan.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.10.1 2011-02-01 SQL::Statement::TermFactory(3pm)
Related Man Pages
dbi::sql::nano(3) - mojave
dbi::sql::nano(3) - centos
dbi::sql::nano5.18(3) - mojave
sql::statement::term(3) - suse
sql::statement::operation(3pm) - debian
Similar Topics in the Unix Linux Community
Timecardimport 0.40 (Default branch)
Filter the column and print the result based on condition
How to extract WHERE clause from a SQL using UNIX???
SQL Column Heading
Oop to copy and rename files through SQL Statement in shell Script