MCPcopy Index your code
hub / github.com/dbcli/pgcli / escape_schema

Method escape_schema

pgcli/pgcompleter.py:149–150  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

147 return name
148
149 def escape_schema(self, name):
150 return "'{}'".format(self.unescape_name(name))
151
152 def unescape_name(self, name):
153 """Unquote a string."""

Callers 1

get_schema_matchesMethod · 0.95

Calls 1

unescape_nameMethod · 0.95

Tested by

no test coverage detected