NAME

DBI::Executed -

SYNOPSIS

use DBI;
use DBI::Executed;

my $dbh = DBI->connect($dsn, $user, $pass);
$dbh->prepare("select * from table where column = ?");
my $sth = $dbh->execute("aaa");
....do something
my $sql_string = $dbh->executed_sql;

print $sql_string;
# select * from where column = aaa

DESCRIPTION

DBI::Executed extracts executed sql query that was binded with variables.

METHODS

executed_sql

AUTHOR

takeshi miki <miki@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO