SQL::Functional::Clause - Represents a portion of an SQL string
A Moose role for representing SQL strings.
An array ref of SQL::Functional::LiteralClause objects. It will automatically coerce any strings in the array to PlacheolderClauses.
SQL::Functional::LiteralClause
PlacheolderClause
An array ref of SQL::Functional::Clause objects. It will automatically coerce any strings in the array to PlaceholderClauses.
SQL::Functional::Clause
PlaceholderClause
Type SQL::Functional::Type::Clauses. These represent the parameters of your clause. Has auto_deref set, so you can say:
SQL::Functional::Type::Clauses
auto_deref
my @params = $obj->params;
Also see get_params() for a method that can potentially fetch the params of subclauses recursively.
get_params()
As of version 0.3, this will recurse into calling params on subclauses by default. It can be overriden to get only params if need be.
params
Returns the SQL string that represents this clause.
To install SQL::Functional, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Functional
CPAN shell
perl -MCPAN -e shell install SQL::Functional
For more information on module installation, please visit the detailed CPAN module installation guide.