Text::Query::SolveSQL - Apply query expression to an SQL database
use Text::Query; my $q=new Text::Query('field1: ( hello and world )', -parse => 'Text::Query::ParseAdvanced', -solve => 'Text::Query::SolveSQL', -build => 'Text::Query::BuildSQLFulcrum', -select => 'select * from t1 where __WHERE__'); my $db = DBI->connect(undef, undef, undef); my @rows = $q->match($db);
Applies a select order computed by a Text::Query object whose builder is derived from Text::Query::BuildSQL to a DBI object.
Text::Query
Text::Query::BuildSQL
DBI
Applies the current select order to the database provided by the DB argument and returns a table of rows that match. Each row is a hashref.
DB
hashref
Text::Query(3) Text::Query::Solve(3)
Loic Dachary (loic@senga.org)
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Text::Query::SolveSQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Query::SolveSQL
CPAN shell
perl -MCPAN -e shell install Text::Query::SolveSQL
For more information on module installation, please visit the detailed CPAN module installation guide.