You are here

protected function OAuthStorePDO::query_insert_id in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_insert_id()
  2. 7.2 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_insert_id()
  3. 7.3 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_insert_id()
  4. 7.5 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_insert_id()
  5. 7.6 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_insert_id()

* Return the id of the last inserted row * *

Return value

int

Overrides OAuthStoreSQL::query_insert_id

File

lib/oauth-php/library/store/OAuthStorePDO.php, line 193

Class

OAuthStorePDO

Code

protected function query_insert_id() {
  return $this->conn
    ->lastInsertId();
}