André Rivotti Casimiro > SQL-QueryBuilder-Pretty > SQL::QueryBuilder::Pretty::Handler::DBI::db

Download:
SQL-QueryBuilder-Pretty-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

SQL::QueryBuilder::Pretty::Handler::DBI::db - DBI handler extension for SQL::QueryBuilder::Pretty.

VERSION ^

Version 0.01

SYNOPSIS ^

Directly:

    use SQL::QueryBuilder::Pretty::Handler::DBI::db;

    my $pretty = SQL::QueryBuilder::Pretty::Handler::DBI::db->new();

    print $pretty->print('SELECT * FROM table WHERE col1 = NOW()');

or indirecly using SQL::QueryBuilder::Pretty:

    use SQL::QueryBuilder::Pretty;

    my $pretty = SQL::QueryBuilder::Pretty->new(
        '-handler' => $dbh,
    );

    print $pretty->print('SELECT * FROM table WHERE col1 = NOW()');

DESCRIPTION ^

DBI handler extension for SQL::QueryBuilder::Pretty.

PACKAGE->new(%options)

Initializes the object.

SEE ALSO ^

SQL::QueryBuilder::Pretty, DBI.

AUTHOR ^

André Rivotti Casimiro, <rivotti at cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 by André Rivotti Casimiro. Published under the terms of the Artistic License 2.0.

syntax highlighting: