GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Text::Query::SolveSQL(3) User Contributed Perl Documentation Text::Query::SolveSQL(3)

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.

match (DB)
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".

Text::Query(3) Text::Query::Solve(3)

Loic Dachary (loic@senga.org)

Hey! The above document had some coding errors, which are explained below:
Around line 97:
You forgot a '=back' before '=head1'
2000-02-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.