You might look at DBD::Mock. You can probably munge the DBD::Mock::StatementTrack objects into something useful:
For example:
my $dbh = DBI->connect( 'DBI:Mock:', '', '' ) || die "connect: $DBI::e +rrstr"; # [ call stuff that uses $dbh ] print join "\n", map { $_->to_string } ( @{ $dbh->{mock_all_history} } + );
In reply to Re: Obtaining SQL updates for application to another database
by adrianh
in thread Obtaining SQL updates for application to another database
by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |