Пример #1
0
 /**
  * Returns last inserted ID.
  * @param  string|NULL $sequenceName
  * @return int|string
  */
 public function getLastInsertedId($sequenceName = NULL)
 {
     $this->connected || $this->connect();
     return $this->driver->getLastInsertedId($sequenceName);
 }