MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / column_descriptions

Method column_descriptions

lib/sqlalchemy/orm/context.py:1038–1053  ·  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

1036
1037 @property
1038 def column_descriptions(self):
1039 """Return a :term:`plugin-enabled` 'column descriptions' structure
1040 referring to the columns which are SELECTed by this statement.
1041
1042 See the section :ref:`queryguide_inspection` for an overview
1043 of this feature.
1044
1045 .. seealso::
1046
1047 :ref:`queryguide_inspection` - ORM background
1048
1049 """
1050 meth = cast(
1051 _ORMSelectCompileState, SelectState.get_plugin_class(self)
1052 ).get_column_descriptions
1053 return meth(self)
1054
1055 def _ensure_disambiguated_names(self):
1056 return self

Callers

nothing calls this directly

Calls 2

castFunction · 0.50
get_plugin_classMethod · 0.45

Tested by

no test coverage detected