且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何获取使用DBI插入的最后一行?

更新时间:2022-12-12 14:55:10

这是语句句柄的属性。您应该可以这样访问ID:

This is a property of the statement handle. You should be able to access the ID like that:

$sth->{mysql_insertid}