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

Function ColumnMetadata

pgcli/packages/parseutils/meta.py:6–7  ·  view source on GitHub ↗
(name, datatype, foreignkeys=None, default=None, has_default=False)

Source from the content-addressed store, hash-verified

4
5
6def ColumnMetadata(name, datatype, foreignkeys=None, default=None, has_default=False):
7 return _ColumnMetadata(name, datatype, foreignkeys or [], default, has_default)
8
9
10ForeignKey = namedtuple(

Callers 4

extend_columnsMethod · 0.85
argMethod · 0.85
fieldsMethod · 0.85
isolate_query_ctesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected