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)NAMESQL::Statement::TermFactory - Factory for SQL::Statement::Term instancesSYNOPSISmy $termFactory = SQL::Statement::TermFactory->new($stmt); my $whereTerms = $termFactory->buildCondition( $stmt->{where_clause} ); my $col = $termFactory->buildCondition( $stmt->{col_obj}->{$name}->{content} );DESCRIPTIONThis 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.METHODSbuildCondition Builds a condition object from a given (part of a) where clause. This method calls itself recursively for predicates.AUTHOR AND COPYRIGHTCopyright (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 |
sql::statement::function(3) - suse |
sql::statement::term(3) - suse |
dbi::sql::nano(3pm) - linux |
sql::statement::function(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Perform selection and deletion at the same time |
GEOS 3.0.0 (Default branch) |
Dynamic SQL for where clause |
How to grep the where clause of a SQL? |
IN/OR Statement |