You are here

public function Statement::BindArguments in Drupal driver for SQL Server and SQL Azure 8.2

Summary of BindArguments

Parameters

PDOStatement $stmt:

array $values:

File

drivers/lib/Drupal/Driver/Database/sqlsrv/PDO/Statement.php, line 225

Class

Statement
Turbocharged Statement class to work with MSSQL server.

Namespace

Drupal\Driver\Database\sqlsrv\PDO

Code

public function BindArguments(array &$values) {
  foreach ($values as $key => &$value) {
    $this
      ->bindParam($key, $value, PDO::PARAM_STR);
  }
}