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 eventutil returns the most recent socket error numberphp eventutil returns the most recent socket errorphp maxdb 函数 returns the error code for the most recent function callphp maxdb 函数 returns the error code for the most recent statement callphp 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 whether or not a previous row is availablephp sqlite 函数 returns the current row indexphp sqlite 函数 returns the error code of the last error for a databasephp sqlite 函数 returns the rowid of the most recently inserted rowphp sqlite 函数 executes a query and returns either an array for one single column or the value of the first rowphp 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
关注编程学问公众号