Chris Williams > App-CPANIDX-0.36 > App::CPANIDX::Queries

Download:
App-CPANIDX-0.36.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.36   Source  

NAME ^

App::CPANIDX::Queries - Provide SQL queries for App::CPANIDX

SYNOPSIS ^

  my $aref = App::CPANIDX::Queries->query('mod');

  my ($sql,$flag) = App::CPANIDX::Queries->query('auth');

  my @types = App::CPANIDX::Queries->queries();

DESCRIPTION ^

App::CPANIDX::Queries provides the SQL queries that App::CPANIDX uses to query the CPANIDX.

FUNCTIONS ^

queries

Returns a list of the available queries.

query

Takes one argument, the name of a query to lookup.

Returns in list context a list consisting of a SQL string and a flag indicating whether the SQL string includes placeholders.

In scalar context returns an array reference containing the same as above.

AUTHOR ^

Chris BinGOs Williams <chris@bingosnet.co.uk>

LICENSE ^

Copyright © Chris Williams

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO ^

App::CPANIDX

syntax highlighting: