PgUtil.escapeIdentifier

Escape the given identifier <tt>value</tt> and append it to the string builder <tt>sbuf</tt>. If <tt>sbuf</tt> is <tt>null</tt>, a new StringBuilder will be returned. This method is different from appendEscapedLiteral in that it includes the quoting required for the identifier while {@link #escapeLiteral(StringBuilder, string, bool)} does not.

@param sbuf the string builder to append to; or <tt>null</tt> @param value the string value @return the sbuf argument; or a new string builder for sbuf is null @throws SQLException if the string contains a <tt>\0</tt> character

class PgUtil
static
StringBuilder
escapeIdentifier
(
StringBuilder sbuf
,
string value
)

Meta