Search::QueryParser::SQL::Query - query object
# see Search::QueryParser::SQL
This class is primarily for unparsing Search::QueryParser data structures into valid SQL.
Only new or overridden method are documented here.
Returns Query as a string suitable for plugging into a WHERE clause.
Like stringify(), but returns array ref of two items: the SQL string and an array ref of values. The SQL string uses the ? placeholder as expected by the DBI API.
?
Returns array ref of array refs of column/op/value pairs. Note that the logical AND/OR connectors will not be present.
Returns array ref ready for passing to Rose::DB::Object::Querybuilder build_select() method as the query argument.
query
Returns array ref ready for passing to DBIx::Class as search query. This is the SQL::Abstract format.
Returns the original parser object that generated the query.
Peter Karman, <karman@cpan.org>
<karman@cpan.org>
Please report any bugs or feature requests to bug-search-queryparser-sql@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-search-queryparser-sql@rt.cpan.org
The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.
http://www.msi.umn.edu/
Copyright 2008 by the Regents of the University of Minnesota.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Search::QueryParser::SQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::QueryParser::SQL
CPAN shell
perl -MCPAN -e shell install Search::QueryParser::SQL
For more information on module installation, please visit the detailed CPAN module installation guide.