Subject: | missing method last_insert_id |
DBI has a method $dbi->last_insert_id(...) which is not implemented in
the DBD::Mock driver. So client code doing cascaded inserts cannot be
tested.
So please include the following lines in the next release :
package DBD::Mock::db;
sub last_insert_id {
my ( $dbh ) = @_;
return $dbh->{mock_last_insert_id};
}