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
lithium
data
source
database
adapter
Sqlite3
_insertId
lithium\data\source\database\adapter\Sqlite3::_insertId PHP Method
Sqlite3 Class Documentation
Show file
Open project: unionofrad/lithium
_insertId()
protected
method
Gets the last auto-generated ID from the query that inserted a new record.
protected
_insertId
(
object
$query
) :
mixed
$query
object
The `Query` object associated with the query which generated
return
mixed
Returns the last inserted ID key for an auto-increment column or a column bound to a sequence.
protected function _insertId($query) { return $this->connection->lastInsertId(); }
Sqlite3
__construct
_buildColumn
_column
_execute
_insertId
connect
describe
disconnect
enabled
encoding
error
sources