0 follower

Final Class Yiisoft\Db\Expression\Value\ColumnName

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

Represents a column name expression for SQL queries.

This class encapsulates a column name that will be properly quoted when building SQL queries.

Public Properties

Hide inherited properties

Property Type Description Defined By
$name string Yiisoft\Db\Expression\Value\ColumnName

Public Methods

Hide inherited methods

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

Property Details

Hide inherited properties

$name public property
public string $name null

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( string $name )
$name string

The column name.

                public function __construct(
    public readonly string $name,
) {}