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

Method datatypes

tests/metadata.py:82–83  ·  view source on GitHub ↗
(self, parent="public", pos=0)

Source from the content-addressed store, hash-verified

80 return [column(escape(col), pos) for col in cols]
81
82 def datatypes(self, parent="public", pos=0):
83 return [datatype(escape(x), pos) for x in self.metadata.get("datatypes", {}).get(parent, [])]
84
85 def tables(self, parent="public", pos=0):
86 return [table(escape(x), pos) for x in self.metadata.get("tables", {}).get(parent, [])]

Callers 2

typesMethod · 0.95
test_datatypes_queryFunction · 0.45

Calls 1

escapeFunction · 0.85

Tested by 1

test_datatypes_queryFunction · 0.36