MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / exported_columns

Method exported_columns

lib/sqlalchemy/sql/dml.py:865–878  ·  view source on GitHub ↗

Return the RETURNING columns as a column collection for this statement. .. versionadded:: 1.4

(
        self,
    )

Source from the content-addressed store, hash-verified

863
864 @util.ro_memoized_property
865 def exported_columns(
866 self,
867 ) -> ReadOnlyColumnCollection[Optional[str], ColumnElement[Any]]:
868 """Return the RETURNING columns as a column collection for this
869 statement.
870
871 .. versionadded:: 1.4
872
873 """
874 return WriteableColumnCollection(
875 (c.key, c)
876 for c in self._all_selected_columns
877 if is_column_element(c)
878 ).as_readonly()
879
880 @_generative
881 def with_hint(

Callers

nothing calls this directly

Calls 3

is_column_elementFunction · 0.85
as_readonlyMethod · 0.45

Tested by

no test coverage detected