MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / c

Method c

lib/sqlalchemy/sql/functions.py:425–430  ·  view source on GitHub ↗

synonym for :attr:`.FunctionElement.columns`.

(self)

Source from the content-addressed store, hash-verified

423
424 @util.ro_memoized_property
425 def c(self) -> ReadOnlyColumnCollection[str, KeyedColumnElement[Any]]:
426 """synonym for :attr:`.FunctionElement.columns`."""
427
428 return WriteableColumnCollection(
429 columns=[(col.key, col) for col in self._all_selected_columns]
430 ).as_readonly()
431
432 @property
433 def _all_selected_columns(self) -> Sequence[KeyedColumnElement[Any]]:

Callers

nothing calls this directly

Calls 2

as_readonlyMethod · 0.45

Tested by

no test coverage detected