On Fri, May 04, 2018 at 02:10:18PM +0200, [email protected] wrote:
> Hello, do you have any opinion or comments?
>
> Tim, you as a DBI maintainer, what do you think about those ideas?
>
> On Friday 27 April 2018 16:03:59 [email protected] wrote:
> >
> > So I'm proposing change that caller would be allowed to call
> > $dbh->last_insert_id() without any argument
Ok.
> > Second change: Add a new statement method $sth->last_insert_id().
That seems fine. I'd write the fallback code like this:
sub last_insert_id { return shift->{Database}->last_insert_id(@_) }
Thanks Pali.
Tim.