MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / ColumnMetadata

Function ColumnMetadata

web/pgadmin/utils/sqlautocomplete/parseutils/meta.py:9–12  ·  view source on GitHub ↗
(name, datatype, foreignkeys=None, default=None,
                   has_default=False)

Source from the content-addressed store, hash-verified

7
8
9def ColumnMetadata(name, datatype, foreignkeys=None, default=None,
10 has_default=False):
11 return _ColumnMetadata(name, datatype, foreignkeys or [], default,
12 has_default)
13
14
15ForeignKey = 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