0 follower

Final Class Yiisoft\Db\Expression\Value\Value

InheritanceYiisoft\Db\Expression\Value\Value
ImplementsYiisoft\Db\Expression\ExpressionInterface

Represents a value for SQL queries.

This class encapsulates any type of value that needs to be properly converted and bound as a parameter in SQL statements.

Public Properties

Hide inherited properties

Property Type Description Defined By
$value mixed Yiisoft\Db\Expression\Value\Value

Public Methods

Hide inherited methods

Method Description Defined By
__construct() Yiisoft\Db\Expression\Value\Value

Property Details

Hide inherited properties

$value public property
public mixed $value null

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( mixed $value )
$value mixed

The value to be used in the SQL query.

                public function __construct(
    public readonly mixed $value,
) {}