MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / contains_column

Method contains_column

lib/sqlalchemy/sql/base.py:2568–2569  ·  view source on GitHub ↗
(self, col: ColumnClause[Any])

Source from the content-addressed store, hash-verified

2566
2567class ColumnSet(util.OrderedSet["ColumnClause[Any]"]):
2568 def contains_column(self, col: ColumnClause[Any]) -> bool:
2569 return col in self
2570
2571 def extend(self, cols: Iterable[Any]) -> None:
2572 for col in cols:

Callers 15

_columns_are_mappedMethod · 0.45
replMethod · 0.45
proc_left_rightMethod · 0.45
_configure_propertiesMethod · 0.45
_setup_tableMethod · 0.45
_create_eager_joinMethod · 0.45
test_copyMethod · 0.45
test_pks_not_uniquesMethod · 0.45
test_composite_pksMethod · 0.45
test_contains_columnMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_copyMethod · 0.36
test_pks_not_uniquesMethod · 0.36
test_composite_pksMethod · 0.36
test_contains_columnMethod · 0.36
test_dupes_addMethod · 0.36
test_dupes_constructMethod · 0.36
test_dupes_add_dedupeMethod · 0.36