protected function arrayStr(array $pieces, string $glue = ',', bool $wrapSanitizer = true): string
    {
        $str = '';
        foreach ($pieces as $key => $piece) {
            if ($wrapSanitizer === true) {
                $piece = $this->wrapSanitizer($piece);
            }

            if (\is_int($key) === false) {
                $piece = ($wrapSanitizer ? $this->wrapSanitizer($key) : $key) . ' AS ' . $piece;
            }

            $str .= $piece . $glue;
        }

        return trim($str, $glue);
    }