MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / visit_create_column

Method visit_create_column

lib/sqlalchemy/sql/compiler.py:7155–7168  ·  view source on GitHub ↗
(self, create, first_pk=False, **kw)

Source from the content-addressed store, hash-verified

7153 return " ".join(p for p in parts if p)
7154
7155 def visit_create_column(self, create, first_pk=False, **kw):
7156 column = create.element
7157
7158 if column.system:
7159 return None
7160
7161 text = self.get_column_specification(column, first_pk=first_pk)
7162 const = " ".join(
7163 self.process(constraint) for constraint in column.constraints
7164 )
7165 if const:
7166 text += " " + const
7167
7168 return text
7169
7170 def create_table_constraints(
7171 self, table, _include_foreign_key_constraints=None, **kw

Callers 2

compile_Method · 0.80
skip_xminMethod · 0.80

Calls 3

joinMethod · 0.45
processMethod · 0.45

Tested by 2

compile_Method · 0.64
skip_xminMethod · 0.64