SQLite3::lastInsertRowID

(PHP 5 >= 5.3.0, PHP 7)

SQLite3::lastInsertRowIDReturns the row ID of the most recent INSERT into the database

说明

public SQLite3::lastInsertRowID ( void ) : int

Returns the row ID of the most recent INSERT into the database.

参数

此函数没有参数。

返回值

Returns the row ID of the most recent INSERT into the database

相关文章
php eventbufferevent returns most recent openssl error reported on the buffer eventphp eventutil returns the most recent socket error numberphp eventutil returns the most recent socket errorphp ibm db2 函数 returns the auto generated id of the last insert query that successfully executed on this connectionphp maxdb 函数 returns the number of columns for the most recent queryphp maxdb 函数 returns the error code for the most recent statement callphp sqlite 函数 execute a query against a given database and returns an arrayphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlite 函数 opens an sqlite database and returns an sqlitedatabase objectphp sqlite 函数 returns the rowid of the most recently inserted rowphp sqlite 函数 executes a query against a given database and returns a result handlephp mysqli stmt returns the error code for the most recent statement callphp mysqli returns the number of columns for the most recent queryphp mysqlnduhconnection returns the error code for the most recent function callphp mysqlnduhconnection returns the number of columns for the most recent queryphp rrdgraph saves the rrd database query into image and returns the verbose information about generated graphphp sqlite3 returns the number of database rows that were changed or inserted or deleted by the most recent sql statementphp sqlite3 returns the numeric result code of the most recent failed sqlite requestphp sqlite3 returns english text describing the most recent failed sqlite requestphp sqlite3 returns the row id of the most recent insert into the database
关注编程学问公众号