public function Statement::bindValue in Drupal driver for SQL Server and SQL Azure 8.2
Overrides the default \PDOStatement method to add the named parameter and it's value to the array of bound values
- then accesses and returns parent::bindValue method
Parameters
string $param:
string $value:
int $datatype:
Return value
bool
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ PDO/ Statement.php, line 147
Class
- Statement
- Turbocharged Statement class to work with MSSQL server.
Namespace
Drupal\Driver\Database\sqlsrv\PDOCode
public function bindValue($param, $value, $datatype = PDO::PARAM_STR) {
$this->boundParams[$param] = array(
"value" => $value,
"datatype" => $datatype,
);
return parent::bindValue($param, $value, $datatype);
}