DBIx::SQLEngine::Criteria::LiteralSQL - Criteria with SQL snippets


NAME

DBIx::SQLEngine::Criteria::LiteralSQL - Criteria with SQL snippets


SYNOPSIS

  my $crit = DBIx::SQLEngine::Criteria::LiteralSQL->new( "name = 'Dave'" );


DESCRIPTION

DBIx::SQLEngine::Criteria::LiteralSQL objects are built around an array of a SQL string, followed by values to be bound the the '?' placeholders in the string, if any.


REFERENCE

Constructor

new
  DBIx::SQLEngine::Criteria::LiteralSQL->new( $sql ) : $comparison
  DBIx::SQLEngine::Criteria::LiteralSQL->new( $sql, @params ) : $comparison

Constructor.

SQL Where Generation

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

Returns the SQL fragment and parameters stored by the constructor.


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.