0

Final Class yii\db\oci\LobValue

Inheritanceyii\db\oci\LobValue
Implementsyii\db\ExpressionInterface
Available since version22.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/db/oci/LobValue.php

Represents an Oracle BLOB value bound through a PDO LOB locator.

{@see \yii\db\oci\LobValueBuilder} renders EMPTY_BLOB() and registers the payload for locator binding by {@see \yii\db\oci\Command}.

Public Methods

Hide inherited methods

Method Description Defined By
__construct() yii\db\oci\LobValue
getColumnName() Returns the unquoted target column name. yii\db\oci\LobValue
getValue() yii\db\oci\LobValue

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( string $columnName, string|resource $value )
$columnName string
$value string|resource

Binary payload.

                public function __construct(private string $columnName, private $value)
{
}

            
getColumnName() public method

Returns the unquoted target column name.

public string getColumnName ( )

                public function getColumnName(): string
{
    return $this->columnName;
}

            
getValue() public method

public string|resource getValue ( )
return string|resource

Binary payload.

                public function getValue()
{
    return $this->value;
}