PYTHON SQLite3::lastInsertRowID

is this article helpful?
|
Python replacement for PHP's SQLite3::lastInsertRowID [ edit | history ]
cursor.lastrowid

PHP SQLite3::lastInsertRowID

PHP original manual for SQLite3::lastInsertRowID [ show | php.net ]

SQLite3::lastInsertRowID

(PHP 5 >= 5.3.0)

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

Description

public int SQLite3::lastInsertRowID ( void )

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

Parameters

This function has no parameters.

Return Values

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