MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / unescape_name

Method unescape_name

mssqlcli/mssqlcompleter.py:140–145  ·  view source on GitHub ↗

Unquote a string.

(name)

Source from the content-addressed store, hash-verified

138
139 @staticmethod
140 def unescape_name(name):
141 """ Unquote a string."""
142 if name and name[0] == '"' and name[-1] == '"':
143 name = name[1:-1]
144
145 return name
146
147 @classmethod
148 def escaped_names(cls, names):

Callers 4

_matchMethod · 0.95
find_matchesMethod · 0.95
aliasMethod · 0.95
escape_schemaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected