You are here

public function QPDB::getLastInsertID in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/Extension/QPDB.php \QPDB::getLastInsertID()
  2. 7.2 QueryPath/Extension/QPDB.php \QPDB::getLastInsertID()

File

QueryPath/Extension/QPDB.php, line 157

Class

QPDB

Code

public function getLastInsertID() {
  $con = self::$con;
  return $con
    ->lastInsertId();
}