Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ManaPHP
Db
lastInsertId
ManaPHP\Db::lastInsertId PHP Method
Db Class Documentation
Show file
Open project: manaphp/manaphp
lastInsertId()
public
method
Returns insert id for the auto_increment column inserted in the last SQL statement
public
lastInsertId
( ) :
integer
return
integer
public function lastInsertId() { return (int) $this->_pdo->lastInsertId(); }
Db
__construct
_executePrepared
_parseBindValue
affectedRows
begin
commit
delete
execute
fetchAll
fetchOne
getBind
getEmulatedSQL
getSQL
insert
isUnderTransaction
lastInsertId
limit
query
rollback
update