Newscoop\Doctrine\AdoDbAdapter::escapeKeyVal PHP Метод

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

Escape column equals value statement
public escapeKeyVal ( string $key, string $val ) : string
$key string
$val string
Результат string
    public function escapeKeyVal($key, $val)
    {
        if (empty($key)) {
            throw new InvalidArgumentException("'key' param invalid.");
        }
        return sprintf('%s = %s', $this->escapeIdentifier($key), $this->escape($val));
    }