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

Method column_descriptions

lib/sqlalchemy/orm/context.py:1019–1034  ·  view source on GitHub ↗

Return a :term:`plugin-enabled` 'column descriptions' structure referring to the columns which are SELECTed by this statement. See the section :ref:`queryguide_inspection` for an overview of this feature. .. seealso:: :ref:`queryguide_inspection` - ORM

(self)

Source from the content-addressed store, hash-verified

1017
1018 @property
1019 def column_descriptions(self):
1020 """Return a :term:`plugin-enabled` 'column descriptions' structure
1021 referring to the columns which are SELECTed by this statement.
1022
1023 See the section :ref:`queryguide_inspection` for an overview
1024 of this feature.
1025
1026 .. seealso::
1027
1028 :ref:`queryguide_inspection` - ORM background
1029
1030 """
1031 meth = cast(
1032 ORMSelectCompileState, SelectState.get_plugin_class(self)
1033 ).get_column_descriptions
1034 return meth(self)
1035
1036 def _ensure_disambiguated_names(self):
1037 return self

Callers

nothing calls this directly

Calls 2

castFunction · 0.85
get_plugin_classMethod · 0.45

Tested by

no test coverage detected