for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db\oci;
* Command represents an Oracle SQL statement to be executed against a database.
*
* {@inheritdoc}
* @since 2.0.33
class Command extends \yii\db\Command
{
protected function bindPendingParams()
foreach ($this->pendingParams as $name => $value) {
if (\PDO::PARAM_STR === $value[1]) {
$passedByRef = $value[0];
$this->pdoStatement->bindParam($name, $passedByRef, $value[1], strlen($value[0]));
} else {
$this->pdoStatement->bindValue($name, $value[0], $value[1]);
}
$this->pendingParams = [];