src/includes/classes/Core/Utils/Sql.php
public function quoteCvPairs(array $pairs, string $table = ''): string
    {
        $quoted = ''; // Initialize.

        foreach ($pairs as $_column => $_value) {
            if ($_column && is_string($_column)) {
                $quoted .= ','.$this->quoteColumn($_column, $table);
                $quoted .= '='.$this->quote($_value);
            }
        } // unset($_key, $_column); // Housekeeping.

        return $this->c::mbTrim($quoted, ' ,');
    }
public function quoteCvPairs(array $pairs, string $table = ''): string
    {
        $quoted = ''; // Initialize.

        foreach ($pairs as $_column => $_value) {
            if ($_column && is_string($_column)) {
                $quoted .= ','.$this->quoteColumn($_column, $table);
                $quoted .= '='.$this->quote($_value);
            }
        } // unset($_key, $_column); // Housekeeping.

        return $this->c::mbTrim($quoted, ' ,');
    }
Quotes/escapes table.column=value pairs.

@since 17xxxx SQL utils.

@param array  $pairs Pairs.
@param string $table Table name.

@return string Quoted/escaped table.column=value pairs.