DBIx::SQLEngine::Criteria::LiteralSQL - Criteria with SQL snippets
my $crit = DBIx::SQLEngine::Criteria::LiteralSQL->new( "name = 'Dave'" );
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.
DBIx::SQLEngine::Criteria::LiteralSQL->new( $sql ) : $comparison DBIx::SQLEngine::Criteria::LiteralSQL->new( $sql, @params ) : $comparison
Constructor.
$criteria->sql_where() : $sql, @params
Returns the SQL fragment and parameters stored by the constructor.
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.
To install DBIx::SQLEngine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::SQLEngine
CPAN shell
perl -MCPAN -e shell install DBIx::SQLEngine
For more information on module installation, please visit the detailed CPAN module installation guide.