Storm\Drivers\Base\Relational\Expressions\CastExpression::GetCastType PHP Метод

GetCastType() публичный Метод

public GetCastType ( )
    public function GetCastType()
    {
        return $this->CastType;
    }

Usage Example

Пример #1
0
 protected function AppendCast(QueryBuilder $QueryBuilder, E\CastExpression $Expression)
 {
     $QueryBuilder->Append('CAST');
     $QueryBuilder->Append('(');
     $this->Append($QueryBuilder, $Expression->GetCastValueExpression());
     $QueryBuilder->Append(' ' . $this->GetCastAsKeyword() . ' ');
     $QueryBuilder->Append($this->GetCastTypeString($Expression->GetCastType()));
     $QueryBuilder->Append(')');
 }