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


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 the DBIx::SQLEngine::Criteria manpage and the DBIx::SQLEngine::Criteria::Comparison manpage for more information on using these objects.

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

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