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

Function ColumnMetadata

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

Source from the content-addressed store, hash-verified

11
12
13def ColumnMetadata(
14 name, datatype, foreignkeys=None, default=None, has_default=False
15):
16 return _ColumnMetadata(
17 name, datatype, foreignkeys or [], default, has_default
18 )
19
20
21ForeignKey = namedtuple('ForeignKey', ['parentschema', 'parenttable',

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected