MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / keys

Method keys

lib/sqlalchemy/sql/base.py:1657–1660  ·  view source on GitHub ↗

Return a sequence of string key names for all columns in this collection.

(self)

Source from the content-addressed store, hash-verified

1655 return [col for (_, col, _) in self._collection]
1656
1657 def keys(self) -> List[_COLKEY]:
1658 """Return a sequence of string key names for all columns in this
1659 collection."""
1660 return [k for (k, _, _) in self._collection]
1661
1662 def values(self) -> List[_COL_co]:
1663 """Return a sequence of :class:`_sql.ColumnClause` or

Callers 7

test_dupes_addMethod · 0.95
test_dupes_constructMethod · 0.95
column_keysMethod · 0.45
__init__Method · 0.45
_render_cte_clauseMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_dupes_addMethod · 0.76
test_dupes_constructMethod · 0.76