MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / _all_selected_columns

Method _all_selected_columns

lib/sqlalchemy/sql/functions.py:433–442  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431
432 @property
433 def _all_selected_columns(self) -> Sequence[KeyedColumnElement[Any]]:
434 if is_table_value_type(self.type):
435 # TODO: this might not be fully accurate
436 cols = cast(
437 "Sequence[KeyedColumnElement[Any]]", self.type._elements
438 )
439 else:
440 cols = [self.label(None)]
441
442 return cols
443
444 @property
445 def exported_columns( # type: ignore[override]

Callers

nothing calls this directly

Calls 3

is_table_value_typeFunction · 0.85
castFunction · 0.70
labelMethod · 0.45

Tested by

no test coverage detected