Storm\Drivers\Base\Relational\Expressions\CastExpression::GetCastType PHP Method

GetCastType() public method

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(')');
 }