private static function hasRawColumn($columns) { if (!$columns) { return false; } foreach ($columns as $column) { if ($column instanceof Expression) { return true; } } return false; }