You are here

public function Insert::GetInsertedKeys in Drupal driver for SQL Server and SQL Azure 8

Same name and namespace in other branches
  1. 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Insert.php \Drupal\Driver\Database\sqlsrv\Insert::GetInsertedKeys()
  2. 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Insert.php \Drupal\Driver\Database\sqlsrv\Insert::getInsertedKeys()

Retrieve an array of the keys resulting from the last insert.

Return value

mixed[]

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Insert.php, line 177
Definition of Drupal\Driver\Database\sqlsrv\Insert

Class

Insert

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function GetInsertedKeys() {
  return $this
    ->inserted_keys();
}