NAME

DBIx::SQLEngine::Criteria::Compound - Superclass for And and Or

SYNOPSIS

my $crit = DBIx::SQLEngine::Criteria::CompoundSubclass->new( $crit, ... );

DESCRIPTION

DBIx::SQLEngine::Criteria::Compound objects are built around an array of other criteria.

REFERENCE

Constructor

new ( @criteria ) : $compound

Constructor.

Content Access

subs()
$criteria->subs() : @criteria

Returns all of the contained criteria.

push_subs()
$criteria->push_subs ( @criteria ) 
unshift_subs()
$criteria->unshift_subs ( @criteria ) 

SQL Where Generation

sql_where()
$criteria->sql_where() : $sql, @params

Generates SQL criteria expression.

SEE ALSO

See DBIx::SQLEngine::Criteria and DBIx::SQLEngine::Criteria::Comparison for more information on using these objects.

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.